MediaWiki  master
Setup.php File Reference

Include most things that are needed to make MediaWiki work. More...

Go to the source code of this file.

Variables

 $debug = "\n\nStart request {$wgRequest->getMethod()} {$wgRequest->getRequestURL()}\n"
 
if(!defined( 'MEDIAWIKI')) $fname = 'Setup.php'
 This file is not a valid entry point, perform no further processing unless MEDIAWIKI is defined. More...
 
 $messageMemc = wfGetMessageCacheStorage()
 
 $parserMemc = wfGetParserCacheStorage()
 
if(!isset($wgVersion)) $ps_default = Profiler::instance()->scopedProfileIn( $fname . '-defaults' )
 
 $ps_default2 = Profiler::instance()->scopedProfileIn( $fname . '-defaults2' )
 
 $ps_extensions = Profiler::instance()->scopedProfileIn( $fname . '-extensions' )
 
 $ps_globals = Profiler::instance()->scopedProfileIn( $fname . '-globals' )
 
 $ps_memcached = Profiler::instance()->scopedProfileIn( $fname . '-memcached' )
 
 $ps_misc = Profiler::instance()->scopedProfileIn( $fname . '-misc1' )
 
 $ps_session = Profiler::instance()->scopedProfileIn( $fname . '-session' )
 
 $ps_setup = Profiler::instance()->scopedProfileIn( $fname )
 
if($wgScriptExtension!== '.php'||defined(
'MW_ENTRY_PHP5')) if($wgCanonicalServer===false
$serverParts = wfParseUrl( $wgCanonicalServer )
 
if(!$wgEnotifMinorEdits) if($wgMetaNamespace===false)
if($wgResourceLoaderMaxQueryLength===false
$wgCanonicalNamespaceNames
 Definitions of the NS_ constants are in Defines.php. More...
 
global $wgCommandLineMode
 
 $wgContLang = Language::factory( $wgLanguageCode )
 
if(is_array($wgExtraNamespaces)) $wgContLanguageCode = $wgLanguageCode
 
if($wgLocalInterwiki) if($wgSharedPrefix===false)
if($wgSharedSchema===false) if(!$wgCookiePrefix) 
$wgCookiePrefix = strtr( $wgCookiePrefix, '=,; +."\'\\[', '__________' )
 
 $wgDeferredUpdateList = array()
 
 $wgEmailAuthentication = false
 
 $wgEnableUserEmail = false
 
 $wgEnotifFromEditor = false
 
 $wgEnotifImpersonal = false
 
 $wgEnotifMaxRecips = 0
 
 $wgEnotifMinorEdits = false
 
 $wgEnotifRevealEditorAddress = false
 
 $wgEnotifUseJobQ = false
 
 $wgEnotifUseRealName = false
 
 $wgEnotifUserTalk = false
 
 $wgEnotifWatchlist = false
 
if(!$wgHtml5Version
&&$wgAllowRdfaAttributes) 
$wgFileExtensions = array_values( array_diff( $wgFileExtensions, $wgFileBlacklist ) )
 
 $wgFullyInitialised = true
 
if($wgUseFileCache||$wgUseSquid) $wgHtml5 = true
 
 $wgJsMimeType = 'text/javascript'
 
 $wgLang = new StubUserLang
 
 $wgLockManagers []
 Initialise $wgLockManagers to include basic FS version. More...
 
 $wgMemc = wfGetMainCache()
 
 $wgNamespaceAliases ['Image'] = NS_FILE
 The canonical names of namespaces 6 and 7 are, as of v1.14, "File" and "File_talk". More...
 
 $wgNamespaceAliases ['Image_talk'] = NS_FILE_TALK
 
if($wgScript===false) if($wgLoadScript===false)
if($wgArticlePath===false) if(!empty($wgActionPaths)&&!isset($wgActionPaths['view']))
if($wgStylePath===false) if($wgLocalStylePath===false)
if($wgExtensionAssetsPath===false)
if($wgResourceBasePath===null)
if($wgLogo===false) if($wgUploadPath===false)
if($wgUploadDirectory===false)
if($wgReadOnlyFile===false) if($wgFileCacheDirectory===false)
if($wgDeletedDirectory===false)
if($wgGitInfoCacheDirectory===false
&&$wgCacheDirectory!==false)
if($wgEnableParserCache===false)
if($wgRightsIcon) if(isset($wgFooterIcons['copyright'])&&isset($wgFooterIcons['copyright']['copyright'])&&$wgFooterIcons['copyright']['copyright']===array())
if(isset($wgFooterIcons['poweredby'])&&isset($wgFooterIcons['poweredby']['mediawiki'])&&$wgFooterIcons['poweredby']['mediawiki']['src']===null) 
$wgNamespaceProtection [NS_MEDIAWIKI] = 'editinterface'
 Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a sysadmin to set $wgNamespaceProtection incorrectly and leave the wiki insecure. More...
 
 $wgOut = RequestContext::getMain()->getOutput()
 
 $wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) )
 
if($wgServerName!==false$wgServerName = $serverParts['host']
 
 $wgSkipSkins [] = 'fallback'
 
 $wgTitle = null
 
 $wgUseEnotif = false
 
 $wgUser = RequestContext::getMain()->getUser()
 
 $wgUserEmailUseReplyTo = false
 
 $wgUsersNotifiedOnAllChanges = array()
 
 $wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml'
 
if($wgEnableEmail) else
 

Detailed Description

Include most things that are needed to make MediaWiki work.

This file is included by WebStart.php and doMaintenance.php so that both web and maintenance scripts share a final set up phase to include necessary files and create global object variables.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file Setup.php.

Variable Documentation

if (!defined( 'MEDIAWIKI')) $fname = 'Setup.php'

This file is not a valid entry point, perform no further processing unless MEDIAWIKI is defined.

Definition at line 35 of file Setup.php.

Referenced by Skin\__call(), Article\__call(), DummyLinker\__call(), Article\__get(), Article\__set(), StubObject\_unstub(), DumpTestCase\assertDumpStart(), DatabaseSqlite\attachDatabase(), DatabaseBase\begin(), IndexPager\buildQueryInfo(), DatabaseTestHelper\checkFunctionName(), AjaxResponse\checkLastModified(), TextPassDumperDatabaseTest\checkpointHelper(), SectionProfiler\collateData(), JobRunner\commitMasterChanges(), DatabaseMssql\delete(), DatabaseMssql\deleteJoin(), DatabaseMysqlBase\deleteJoin(), DatabaseBase\deleteJoin(), DatabaseSqlite\doBegin(), IndexPager\doQuery(), DatabaseSqlite\duplicateTableStructure(), DatabaseMysqlBase\duplicateTableStructure(), DatabaseBase\endAtomic(), DatabaseMysqlBase\estimateRowCount(), DatabaseMssql\estimateRowCount(), DatabaseBase\estimateRowCount(), ConvertExtensionToRegistration\execute(), QueryPage\getCachedTimestamp(), SectionProfiler\getCallTreeLine(), SectionProfiler\getFunctionStats(), ProfilerXhprof\getFunctionStats(), DumpTestCase\gunzip(), DatabaseBase\indexExists(), DatabaseSqlite\indexInfo(), DatabaseMysqlBase\indexInfo(), DatabaseMssql\indexInfo(), DatabaseSqlite\indexUnique(), DatabaseOracle\insert(), DatabaseBase\insert(), DatabaseMssql\insertSelect(), ChangeTags\listExplicitlyDefinedTags(), DatabaseMysqlBase\listTables(), LocalFile\loadExtraFromDB(), LocalFile\loadFieldsWithTimestamp(), LocalFile\loadFromDB(), moveToExternal(), DatabaseTestHelper\nativeReplace(), DatabaseBase\nativeReplace(), RecentChange\newFromConds(), XmlTypeCheck\newFromFilename(), ImportStreamSource\newFromUpload(), LocalFile\nextHistoryLine(), DatabaseTestHelper\query(), DatabaseBase\query(), DatabaseOracle\queryIgnore(), ImageListPager\reallyDoQuery(), IndexPager\reallyDoQuery(), QueryPage\reallyDoQuery(), QueryPage\recache(), DatabaseMysqlBase\replace(), DatabaseBase\replace(), DatabaseOracle\reportQueryError(), DatabaseBase\reportQueryError(), resolveStub(), resolveStubs(), DatabaseMssql\select(), DatabaseBase\select(), DatabaseBase\selectField(), DatabaseBase\selectFieldValues(), RandomPage\selectRandomPageFromDB(), SpecialRandomInCategory\selectRandomPageFromDB(), DatabaseOracle\selectRow(), DatabaseBase\selectRow(), DatabaseBase\selectRowCount(), DatabaseMssql\selectSQLText(), TransactionProfiler\setExpectation(), TransactionProfiler\setExpectations(), BaseDumpTest\setUpPrefetch(), TextPassDumperDatabaseTest\setUpStub(), splitFilename(), StreamFile\stream(), DatabaseTestHelper\tableExists(), DatabaseBase\tableExists(), ChangeTags\tagUsageStatistics(), BackupDumperPageTest\testCurrentStubGzip(), BackupDumperPageTest\testCurrentStubPlain(), ExportDemoTest\testExportDemo(), BackupDumperPageTest\testFullStubPlain(), BackupDumperPageTest\testFullTextPlain(), BaseDumpTest\testPageMissAtEnd(), BackupDumperLoggerTest\testPlain(), BaseDumpTest\testRevisionMissAtEnd(), BaseDumpTest\testSequential(), BaseDumpTest\testSynchronizePageMiss(), BaseDumpTest\testSynchronizePageMissAtStart(), BaseDumpTest\testSynchronizeRevisionMissAtStart(), BaseDumpTest\testSynchronizeRevisionMissToPage(), BaseDumpTest\testSynchronizeRevisionMissToRevision(), GlobalTest\testWfMkdirParents(), BackupDumperLoggerTest\testXmlDumpsBackupUseCaseLogging(), DatabaseBase\update(), EditPage\updateWatchlist(), EmailNotification\updateWatchlistTimestamp(), DatabaseMysqlBase\upsert(), and DatabaseBase\upsert().

$messageMemc = wfGetMessageCacheStorage()

Definition at line 607 of file Setup.php.

$parserMemc = wfGetParserCacheStorage()

Definition at line 608 of file Setup.php.

if (!isset($wgVersion)) $ps_default = Profiler::instance()->scopedProfileIn( $fname . '-defaults' )

Definition at line 48 of file Setup.php.

$ps_default2 = Profiler::instance()->scopedProfileIn( $fname . '-defaults2' )

Definition at line 497 of file Setup.php.

$ps_extensions = Profiler::instance()->scopedProfileIn( $fname . '-extensions' )

Definition at line 682 of file Setup.php.

$ps_globals = Profiler::instance()->scopedProfileIn( $fname . '-globals' )

Definition at line 633 of file Setup.php.

$ps_memcached = Profiler::instance()->scopedProfileIn( $fname . '-memcached' )

Definition at line 604 of file Setup.php.

$ps_misc = Profiler::instance()->scopedProfileIn( $fname . '-misc1' )

Definition at line 557 of file Setup.php.

$ps_session = Profiler::instance()->scopedProfileIn( $fname . '-session' )

Definition at line 619 of file Setup.php.

$ps_setup = Profiler::instance()->scopedProfileIn( $fname )

Definition at line 36 of file Setup.php.

if ($wgScriptExtension!== '.php'||defined( 'MW_ENTRY_PHP5')) if ($wgCanonicalServer===false) $serverParts = wfParseUrl( $wgCanonicalServer )

Definition at line 508 of file Setup.php.

if (!$wgEnotifMinorEdits) if ($wgMetaNamespace===false) if ($wgResourceLoaderMaxQueryLength===false) $wgCanonicalNamespaceNames
Initial value:
NS_MEDIA => 'Media',
NS_SPECIAL => 'Special',
NS_TALK => 'Talk',
NS_USER => 'User',
NS_USER_TALK => 'User_talk',
NS_PROJECT => 'Project',
NS_PROJECT_TALK => 'Project_talk',
NS_FILE => 'File',
NS_FILE_TALK => 'File_talk',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
NS_TEMPLATE => 'Template',
NS_TEMPLATE_TALK => 'Template_talk',
NS_HELP => 'Help',
NS_HELP_TALK => 'Help_talk',
NS_CATEGORY => 'Category',
NS_CATEGORY_TALK => 'Category_talk',
)
const NS_SPECIAL
Definition: Defines.php:58
const NS_TEMPLATE
Definition: Defines.php:79
const NS_PROJECT
Definition: Defines.php:73
const NS_MEDIAWIKI_TALK
Definition: Defines.php:78
const NS_PROJECT_TALK
Definition: Defines.php:74
const NS_MEDIA
Definition: Defines.php:57
const NS_CATEGORY
Definition: Defines.php:83
const NS_FILE
Definition: Defines.php:75
const NS_FILE_TALK
Definition: Defines.php:76
const NS_MEDIAWIKI
Definition: Defines.php:77
const NS_CATEGORY_TALK
Definition: Defines.php:84
const NS_HELP
Definition: Defines.php:81
const NS_HELP_TALK
Definition: Defines.php:82
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
const NS_USER
Definition: Defines.php:71
const NS_TALK
Definition: Defines.php:70
const NS_USER_TALK
Definition: Defines.php:72
const NS_TEMPLATE_TALK
Definition: Defines.php:80

Definitions of the NS_ constants are in Defines.php.

Access:
private

Definition at line 379 of file Setup.php.

Referenced by MWNamespace\getCanonicalNamespaces(), and wfInstallerMain().

$wgContLang = Language::factory( $wgLanguageCode )

Definition at line 638 of file Setup.php.

if (is_array($wgExtraNamespaces)) $wgContLanguageCode = $wgLanguageCode
Todo:
UGLY UGLY

Definition at line 406 of file Setup.php.

if ($wgLocalInterwiki) if ($wgSharedPrefix===false) if ($wgSharedSchema===false) if (!$wgCookiePrefix) $wgCookiePrefix = strtr( $wgCookiePrefix, '=,; +."\'\\[', '__________' )

Definition at line 330 of file Setup.php.

$wgDeferredUpdateList = array()

Definition at line 679 of file Setup.php.

Referenced by DeferredUpdates\clearPendingUpdates(), and DeferredUpdates\doUpdates().

$wgEmailAuthentication = false

Definition at line 338 of file Setup.php.

$wgEnableUserEmail = false

Definition at line 339 of file Setup.php.

$wgEnotifFromEditor = false

Definition at line 340 of file Setup.php.

$wgEnotifImpersonal = false

Definition at line 341 of file Setup.php.

$wgEnotifMaxRecips = 0

Definition at line 342 of file Setup.php.

$wgEnotifMinorEdits = false

Definition at line 343 of file Setup.php.

$wgEnotifRevealEditorAddress = false

Definition at line 344 of file Setup.php.

$wgEnotifUseJobQ = false

Definition at line 345 of file Setup.php.

$wgEnotifUseRealName = false

Definition at line 346 of file Setup.php.

$wgEnotifUserTalk = false

Definition at line 347 of file Setup.php.

$wgEnotifWatchlist = false

Definition at line 348 of file Setup.php.

if (!$wgHtml5Version &&$wgAllowRdfaAttributes) $wgFileExtensions = array_values( array_diff( $wgFileExtensions, $wgFileBlacklist ) )

Definition at line 432 of file Setup.php.

$wgFullyInitialised = true

Definition at line 708 of file Setup.php.

Referenced by MWExceptionTest\testUseOutputPage().

if ($wgUseFileCache||$wgUseSquid) $wgHtml5 = true

Definition at line 418 of file Setup.php.

$wgJsMimeType = 'text/javascript'

Definition at line 420 of file Setup.php.

$wgLang = new StubUserLang

Definition at line 653 of file Setup.php.

$wgLockManagers[]
Initial value:
'name' => 'fsLockManager',
'class' => 'FSLockManager',
'lockDirectory' => "{$wgUploadDirectory}/lockdir",
)
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.

Initialise $wgLockManagers to include basic FS version.

Definition at line 169 of file Setup.php.

$wgMemc = wfGetMainCache()

Definition at line 606 of file Setup.php.

$wgNamespaceAliases['Image'] = NS_FILE

The canonical names of namespaces 6 and 7 are, as of v1.14, "File" and "File_talk".

The old names "Image" and "Image_talk" are retained as aliases for backwards compatibility.

Definition at line 163 of file Setup.php.

$wgNamespaceAliases['Image_talk'] = NS_FILE_TALK

Definition at line 164 of file Setup.php.

if ($wgScript===false) if ($wgLoadScript===false) if ($wgArticlePath===false) if (!empty($wgActionPaths)&&!isset($wgActionPaths['view'])) if ($wgStylePath===false) if ($wgLocalStylePath===false) if ($wgExtensionAssetsPath===false) if ($wgResourceBasePath===null) if ($wgLogo===false) if ($wgUploadPath===false) if ($wgUploadDirectory===false) if ($wgReadOnlyFile===false) if ($wgFileCacheDirectory===false) if ($wgDeletedDirectory===false) if ($wgGitInfoCacheDirectory===false &&$wgCacheDirectory!==false) if ($wgEnableParserCache===false) if ($wgRightsIcon) if (isset($wgFooterIcons['copyright'])&&isset($wgFooterIcons['copyright']['copyright'])&&$wgFooterIcons['copyright']['copyright']===array()) if (isset($wgFooterIcons['poweredby'])&&isset($wgFooterIcons['poweredby']['mediawiki'])&&$wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI] = 'editinterface'

Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a sysadmin to set $wgNamespaceProtection incorrectly and leave the wiki insecure.

Note that this is the definition of editinterface and it can be granted to all users if desired.

Definition at line 156 of file Setup.php.

Parser $wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) )

Definition at line 663 of file Setup.php.

Referenced by WebInstaller\__construct(), OutputPage\addWikiTextTitle(), ApiQuerySiteinfo\appendExtensionTags(), ApiQuerySiteinfo\appendFunctionHooks(), PreprocessDump\checkOptions(), Preferences\cleanSignature(), ApiFeedWatchlist\createFeedItem(), RefreshLinks\doRefreshLinks(), ApiParse\execute(), ApiExpandTemplates\execute(), MaintenanceFormatInstallDoc\execute(), SpecialExpandTemplates\execute(), PPFuzzTest\execute(), ApiQueryRevisionsBase\extractRevisionInfo(), EditPage\extractSectionTitle(), TextContent\fillParserOutput(), WikitextContent\fillParserOutput(), ApiParse\formatSummary(), SpecialExpandTemplates\generateHtml(), MessageCache\getParser(), SpecialVersion\getParserFunctionHooks(), SpecialVersion\getParserTags(), RawAction\getRawText(), WikitextContent\getSection(), PreprocessDump\getStripList(), EditPage\getSummaryPreview(), EditPage\internalAttemptSave(), EditPage\newSectionSummary(), SpecialListGroupRights\outputNamespaceProtectionInfo(), Installer\parse(), OutputPage\parse(), WikitextContent\preloadTransform(), JavaScriptContent\preSaveTransform(), CssContent\preSaveTransform(), WikitextContent\preSaveTransform(), WikiPage\preSaveTransform(), Preferences\profilePreferences(), WikitextContent\replaceSection(), NewParserTest\requireFunctionHook(), ParserTest\requireFunctionHook(), NewParserTest\requireHook(), ParserTest\requireHook(), NewParserTest\requireTransparentHook(), ParserTest\requireTransparentHook(), UploadFromUrlTestSuite\setUp(), ParserTest\setUp(), ParserMethodsTest\testCallParserFunction(), ParserMethodsTest\testGetSections(), ParserMethodsTest\testPreSaveTransform(), ParserMethodsTest\testRecursiveParse(), and Preferences\validateSignature().

if ($wgServerName!==false) $wgServerName = $serverParts['host']

Definition at line 513 of file Setup.php.

$wgSkipSkins[] = 'fallback'

Definition at line 302 of file Setup.php.

$wgTitle = null

Definition at line 673 of file Setup.php.

$wgUseEnotif = false
User $wgUser = RequestContext::getMain()->getUser()

Definition at line 648 of file Setup.php.

Referenced by UploadStash\__construct(), ApiMain\__construct(), Installer\__construct(), Revision\__construct(), ParserOptions\__construct(), LocalFileDeleteBatch\__construct(), LogPage\addEntry(), LoginForm\addNewAccount(), User\addNewUserLogEntry(), EditPage\attemptSave(), LoginForm\authenticateUserData(), SpecialPageFactory\capturePath(), AjaxResponse\checkLastModified(), FeedUtils\checkPurge(), create_function(), Language\dateFormat(), ApiTestCase\doApiRequest(), FileDeleteForm\doDelete(), WikiPage\doDeleteArticleReal(), WikiPage\doEditContent(), EditPage\edit(), Undelete\execute(), DeleteDefaultMessages\execute(), ImportSiteScripts\execute(), CleanupSpam\execute(), EditCLI\execute(), TableCleanup\execute(), DeleteBatch\execute(), FileDeleteForm\execute(), MoveBatch\execute(), DeleteEqualMessages\execute(), PPFuzzTest\execute(), User\getBlockedStatus(), ApiQueryInfo\getBlockToken(), EditPage\getCheckboxes(), EditPage\getContentObject(), ApiQueryInfo\getDeleteToken(), EditPage\getEditPermissionErrors(), ApiQueryInfo\getEditToken(), ApiQueryInfo\getEmailToken(), LogEventsList\getExcludeClause(), GenderCache\getGenderOf(), ApiQueryInfo\getImportToken(), WebRequest\getLimitOffset(), ApiQueryInfo\getMoveToken(), Title\getNotificationTimestamp(), ApiQueryInfo\getOptionsToken(), ApiQueryRecentChanges\getPatrolToken(), LanguageConverter\getPreferredVariant(), EditPage\getPreloadedContent(), EditPage\getPreviewText(), ApiQueryInfo\getProtectToken(), SpecialPageFactory\getRestrictedPages(), ApiQueryRevisions\getRollbackToken(), SpecialPageFactory\getUsablePages(), ResourceLoaderContext\getUserObj(), ApiQueryUsers\getUserrightsToken(), LanguageConverter\getUserVariant(), ApiQueryInfo\getWatchToken(), EditPage\handleStatus(), EditPage\importFormData(), RequestContext\importScopedSession(), EditPage\initialiseForm(), EditPage\internalAttemptSave(), Title\isValidMoveOperation(), UploadFromUrl\isValidRequest(), Linker\linkAttribs(), RecentChange\markPatrolled(), Title\moveTo(), Revision\newNullRevision(), WikiPage\prepareContentForEdit(), WikiPage\preSaveTransform(), EditPage\previewOnOpen(), DatabaseBase\query(), PatrolLog\record(), LocalFile\recordUpload(), LocalFile\recordUpload2(), DoubleRedirectJob\run(), EditPage\setHeaders(), UploadFromUrlTestSuite\setUp(), ParserTest\setUp(), EditPage\showDiff(), EditPage\showEditForm(), FileDeleteForm\showForm(), EditPage\showFormAfterText(), EditPage\showHeader(), EditPage\showIntro(), EditPage\showTextbox(), ApiTestCase\tearDown(), WikiPageTest\testDoQuickEdit(), WikiPageTest\testDoQuickEditContent(), LanguageConverterTest\testGetPreferredVariantHeaderUserVsUrl(), LanguageConverterTest\testGetPreferredVariantUserOption(), LanguageConverterTest\testGetPreferredVariantUserOptionForForeignLanguage(), EditPage\tokenOk(), LogEventsList\typeAction(), PageArchive\undelete(), WikiPage\updateRestrictions(), EditPage\updateWatchlist(), ChangesList\usePatrol(), Language\userAdjust(), Title\userCan(), LogEventsList\userCanBitfield(), Revision\userCanBitfield(), Title\userIsWatching(), Linker\userToolLinks(), and Title\validateFileMoveOperation().

$wgUserEmailUseReplyTo = false

Definition at line 351 of file Setup.php.

$wgUsersNotifiedOnAllChanges = array()

Definition at line 352 of file Setup.php.

$wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml'

Definition at line 419 of file Setup.php.

if (is_null($wgLocalTZoffset)) if (!$wgDBerrorLogTZ) if ($wgCommandLineMode) else
Initial value:
{
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...

Definition at line 334 of file Setup.php.