MediaWiki master
SetupDynamicConfig.php
Go to the documentation of this file.
1<?php
14use MediaWiki\MainConfigSchema;
16
17// For backwards compatibility, the value of wgLogos is copied to wgLogo.
18// This is because some extensions/skins may be using $config->get('Logo')
19// to access the value.
20if ( $wgLogos !== false && isset( $wgLogos['1x'] ) ) {
21 $wgLogo = $wgLogos['1x'];
22}
23
24// Back-compat
25if ( isset( $wgFileBlacklist ) ) {
26 $wgProhibitedFileExtensions = array_merge( $wgProhibitedFileExtensions, $wgFileBlacklist );
27} else {
28 $wgFileBlacklist = $wgProhibitedFileExtensions;
29}
30if ( isset( $wgMimeTypeBlacklist ) ) {
31 $wgMimeTypeExclusions = array_merge( $wgMimeTypeExclusions, $wgMimeTypeBlacklist );
32} else {
33 $wgMimeTypeBlacklist = $wgMimeTypeExclusions;
34}
35if ( isset( $wgShortPagesNamespaceBlacklist ) ) {
36 $wgShortPagesNamespaceExclusions = $wgShortPagesNamespaceBlacklist;
37} else {
38 $wgShortPagesNamespaceBlacklist = $wgShortPagesNamespaceExclusions;
39}
40
41// Rate limits should have the same name as the corresponding permission
42if ( isset( $wgRateLimits['emailuser'] ) ) {
43 // If the deprecated field is set, use it.
44 // Note that we can't know whether the new field has been set explicitly, since it has a default value.
45 $wgSettings->warning(
46 'RateLimit: The "emailuser" limit is deprecated, use "sendemail" instead.'
47 );
48 $wgRateLimits['sendemail'] = $wgRateLimits['emailuser'];
49}
50
51// Rate limits should have the same name as the corresponding permission
52if ( isset( $wgRateLimits['changetag'] ) ) {
53 // If the deprecated field is set, use it.
54 // Note that we can't know whether the new field has been set explicitly, since it has a default value.
55 $wgSettings->warning(
56 'RateLimit: The "changetag" limit is deprecated, use "changetags" instead.'
57 );
58 $wgRateLimits['changetags'] = $wgRateLimits['changetag'];
59}
60
61// Prohibited file extensions shouldn't appear on the "allowed" list
63
64// Fix path to icon images after they were moved in 1.24
65if ( $wgRightsIcon ) {
66 $wgRightsIcon = str_replace(
67 "{$wgStylePath}/common/images/",
68 "{$wgResourceBasePath}/resources/assets/licenses/",
70 );
71}
72
73if ( isset( $wgFooterIcons['copyright']['copyright'] )
74 && $wgFooterIcons['copyright']['copyright'] === []
75) {
77 $wgFooterIcons['copyright']['copyright'] = [
78 'url' => $wgRightsUrl,
79 'src' => $wgRightsIcon,
80 'alt' => $wgRightsText,
81 ];
82 }
83}
84
85if ( isset( $wgFooterIcons['poweredby'] )
86 && isset( $wgFooterIcons['poweredby']['mediawiki'] )
87 && is_array( $wgFooterIcons['poweredby']['mediawiki'] )
88 && $wgFooterIcons['poweredby']['mediawiki']['src'] === null
89) {
90 $compactLogo = "$wgResourceBasePath/resources/assets/mediawiki_compact.svg";
91 $wgFooterIcons['poweredby']['mediawiki']['sources'] = [
92 [
93 "media" => "(min-width: 500px)",
94 "srcset" => "$wgResourceBasePath/resources/assets/poweredby_mediawiki.svg",
95 "width" => 88,
96 "height" => 31,
97 ]
98 ];
99 $wgFooterIcons['poweredby']['mediawiki']['src'] = $compactLogo;
100 $wgFooterIcons['poweredby']['mediawiki']['width'] = 25;
101 $wgFooterIcons['poweredby']['mediawiki']['height'] = 25;
102}
103
104// Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a
105// sysadmin to set $wgNamespaceProtection incorrectly and leave the wiki insecure.
106//
107// Note that this is the definition of editinterface and it can be granted to
108// all users if desired.
110
111// Initialise $wgLockManagers to include basic FS version
113 'name' => 'fsLockManager',
114 'class' => FSLockManager::class,
115 'lockDirectory' => "{$wgUploadDirectory}/lockdir",
116];
117$wgLockManagers[] = [
118 'name' => 'nullLockManager',
119 'class' => NullLockManager::class,
120];
121
122// Default parameters for the "<gallery>" tag.
123// See \MediaWiki\MainConfigSchema::GalleryOptions
125 'imagesPerRow' => 0,
126 'imageWidth' => 120,
127 'imageHeight' => 120,
128 'captionLength' => true,
129 'showBytes' => true,
130 'showDimensions' => true,
131 'mode' => 'traditional',
132];
133
135$wgLocalFileRepo['scriptDirUrl'] ??= $wgScriptPath;
138$wgLocalFileRepo['hashLevels'] ??= ( $wgHashedUploadDirectory ? 2 : 0 );
142$wgLocalFileRepo['deletedHashLevels'] ??= ( $wgHashedUploadDirectory ? 3 : 0 );
143$wgLocalFileRepo['updateCompatibleMetadata'] ??= $wgUpdateCompatibleMetadata;
145
146if ( isset( $wgLocalFileRepo['name'] ) && !isset( $wgLocalFileRepo['backend'] ) ) {
147 // Create a default FileBackend name.
148 // FileBackendGroup will register a default, if absent from $wgFileBackends.
149 $wgLocalFileRepo['backend'] = $wgLocalFileRepo['name'] . '-backend';
150}
151
155if ( $wgUseSharedUploads ) {
156 if ( $wgSharedUploadDBname ) {
158 'class' => ForeignDBRepo::class,
159 'name' => 'shared',
160 'directory' => $wgSharedUploadDirectory,
161 'url' => $wgSharedUploadPath,
162 'hashLevels' => $wgHashedSharedUploadDirectory ? 2 : 0,
163 'thumbScriptUrl' => $wgSharedThumbnailScriptPath,
164 'transformVia404' => !$wgGenerateThumbnailOnParse,
165 'dbType' => $wgDBtype,
166 'dbServer' => $wgDBserver,
167 'dbUser' => $wgDBuser,
168 'dbPassword' => $wgDBpassword,
169 'dbName' => $wgSharedUploadDBname,
170 'dbFlags' => ( $wgDebugDumpSql ? DBO_DEBUG : 0 ) | DBO_DEFAULT,
171 'tablePrefix' => $wgSharedUploadDBprefix,
172 'hasSharedCache' => $wgCacheSharedUploads,
173 'descBaseUrl' => $wgRepositoryBaseUrl,
174 'fetchDescription' => $wgFetchCommonsDescriptions,
175 ];
176 } else {
178 'class' => FileRepo::class,
179 'name' => 'shared',
180 'directory' => $wgSharedUploadDirectory,
181 'url' => $wgSharedUploadPath,
182 'hashLevels' => $wgHashedSharedUploadDirectory ? 2 : 0,
183 'thumbScriptUrl' => $wgSharedThumbnailScriptPath,
184 'transformVia404' => !$wgGenerateThumbnailOnParse,
185 'descBaseUrl' => $wgRepositoryBaseUrl,
186 'fetchDescription' => $wgFetchCommonsDescriptions,
187 ];
188 }
189}
192 'class' => ForeignAPIRepo::class,
193 'name' => 'wikimediacommons',
194 'apibase' => 'https://commons.wikimedia.org/w/api.php',
195 'url' => 'https://upload.wikimedia.org/wikipedia/commons',
196 'thumbUrl' => 'https://upload.wikimedia.org/wikipedia/commons/thumb',
197 'hashLevels' => 2,
198 'transformVia404' => true,
199 'fetchDescription' => true,
200 'descriptionCacheExpiry' => 43200,
201 'apiThumbCacheExpiry' => 0,
202 ];
203}
204foreach ( $wgForeignFileRepos as &$repo ) {
205 if ( !isset( $repo['directory'] ) && $repo['class'] === ForeignAPIRepo::class ) {
206 $repo['directory'] = $wgUploadDirectory; // b/c
207 }
208 if ( !isset( $repo['backend'] ) ) {
209 $repo['backend'] = $repo['name'] . '-backend';
210 }
211}
212unset( $repo ); // no global pollution; destroy reference
213
214$rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 );
215// Ensure that default user options are not invalid, since that breaks Special:Preferences
216$wgDefaultUserOptions['rcdays'] = min(
217 $wgDefaultUserOptions['rcdays'],
218 ceil( $rcMaxAgeDays )
219);
220$wgDefaultUserOptions['watchlistdays'] = min(
221 $wgDefaultUserOptions['watchlistdays'],
222 ceil( $rcMaxAgeDays )
223);
224unset( $rcMaxAgeDays );
225
226$wgCookiePrefix = strtr( $wgCookiePrefix, '=,; +."\'\\[', '__________' );
227
228if ( !$wgEnableEmail ) {
229 // Disable all other email settings automatically if $wgEnableEmail
230 // is set to false. - T65678
231 $wgAllowHTMLEmail = false;
232 $wgEmailAuthentication = false; // do not require auth if you're not sending email anyway
233 $wgEnableUserEmail = false;
234 $wgEnotifFromEditor = false;
235 $wgEnotifMinorEdits = false;
237 $wgEnotifUseRealName = false;
238 $wgEnotifUserTalk = false;
239 $wgEnotifWatchlist = false;
240 unset( $wgGroupPermissions['user']['sendemail'] );
243}
244
245if ( !$wgLocaltimezone ) {
246 // NOTE: The automatic dynamic default only kicks in if $wgLocaltimezone is null,
247 // but the installer writes $wgLocaltimezone into LocalSettings, and may
248 // produce (or may have produced historically) an empty string for some
249 // reason. To be compatible with existing LocalSettings.php files, we need
250 // to gracefully handle the case of $wgLocaltimezone being the empty string.
251 // See T305093#8063451.
252 $wgLocaltimezone = MainConfigSchema::getDefaultLocaltimezone();
253 $wgSettings->warning(
254 'The Localtimezone setting must a valid timezone string or null. '
255 . 'It must not be an empty string or false.'
256 );
257}
258
259// The part after the System| is ignored, but rest of MW fills it out as the local offset.
260$wgDefaultUserOptions['timecorrection'] = "System|$wgLocalTZoffset";
261
266$wgCanonicalNamespaceNames = NamespaceInfo::CANONICAL_NAMES;
267
268// Hard-deprecate setting $wgDummyLanguageCodes in LocalSettings.php
269if ( count( $wgDummyLanguageCodes ) !== 0 ) {
270 $wgSettings->warning(
271 'Do not add to DummyLanguageCodes directly, ' .
272 'add to ExtraLanguageCodes instead.'
273 );
274}
275// Merge in the legacy language codes, incorporating overrides from the config
277 // Internal language codes of the private-use area which get mapped to
278 // themselves.
279 'qqq' => 'qqq', // Used for message documentation
280 'qqx' => 'qqx', // Used for viewing message keys
281] + $wgExtraLanguageCodes + LanguageCode::getDeprecatedCodeMapping();
282// Merge in (inverted) BCP 47 mappings
283foreach ( LanguageCode::getNonstandardLanguageCodeMapping() as $code => $bcp47 ) {
284 $bcp47 = strtolower( $bcp47 ); // force case-insensitivity
285 if ( !isset( $wgDummyLanguageCodes[$bcp47] ) ) {
286 $wgDummyLanguageCodes[$bcp47] = $wgDummyLanguageCodes[$code] ?? $code;
287 }
288}
289unset( $code ); // no global pollution; destroy reference
290unset( $bcp47 ); // no global pollution; destroy reference
291if ( $wgUseXssLanguage ) {
292 $wgDummyLanguageCodes['x-xss'] = 'x-xss'; // Used for testing
293}
294
295// Temporary backwards-compatibility reading of old replica lag settings as of MediaWiki 1.36,
296// to support sysadmins who fail to update their settings immediately:
297
298if ( isset( $wgSlaveLagWarning ) ) {
299 // If the old value is set to something other than the default, use it.
300 if ( $wgDatabaseReplicaLagWarning === 10 && $wgSlaveLagWarning !== 10 ) {
301 $wgDatabaseReplicaLagWarning = $wgSlaveLagWarning;
302 $wgSettings->warning( 'SlaveLagWarning is no longer supported, ' .
303 'use DatabaseReplicaLagWarning instead!' );
304 }
305} else {
306 // Backwards-compatibility for extensions that read this value.
307 $wgSlaveLagWarning = $wgDatabaseReplicaLagWarning;
308}
309
310if ( isset( $wgSlaveLagCritical ) ) {
311 // If the old value is set to something other than the default, use it.
312 if ( $wgDatabaseReplicaLagCritical === 30 && $wgSlaveLagCritical !== 30 ) {
313 $wgDatabaseReplicaLagCritical = $wgSlaveLagCritical;
314 $wgSettings->warning( 'SlaveLagCritical is no longer supported, ' .
315 'use DatabaseReplicaLagCritical instead!' );
316 }
317} else {
318 // Backwards-compatibility for extensions that read this value.
319 $wgSlaveLagCritical = $wgDatabaseReplicaLagCritical;
320}
321
322if ( $wgInvalidateCacheOnLocalSettingsChange && defined( 'MW_CONFIG_FILE' ) ) {
323 // phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged
324 $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( MW_CONFIG_FILE ) ) );
325}
326
327if ( $wgNewUserLog ) {
328 // Add new user log type
329 $wgLogTypes[] = 'newusers';
330 $wgLogNames['newusers'] = 'newuserlogpage';
331 $wgLogHeaders['newusers'] = 'newuserlogpagetext';
332 $wgLogActionsHandlers['newusers/newusers'] = [
333 'class' => NewUsersLogFormatter::class,
334 'services' => [
335 'NamespaceInfo',
336 ]
337 ];
338 $wgLogActionsHandlers['newusers/create'] = [
339 'class' => NewUsersLogFormatter::class,
340 'services' => [
341 'NamespaceInfo',
342 ]
343 ];
344 $wgLogActionsHandlers['newusers/create2'] = [
345 'class' => NewUsersLogFormatter::class,
346 'services' => [
347 'NamespaceInfo',
348 ]
349 ];
350 $wgLogActionsHandlers['newusers/byemail'] = [
351 'class' => NewUsersLogFormatter::class,
352 'services' => [
353 'NamespaceInfo',
354 ]
355 ];
356 $wgLogActionsHandlers['newusers/autocreate'] = [
357 'class' => NewUsersLogFormatter::class,
358 'services' => [
359 'NamespaceInfo',
360 ]
361 ];
362}
363
364if ( $wgPageCreationLog ) {
365 // Add page creation log type
366 $wgLogTypes[] = 'create';
367 $wgLogActionsHandlers['create/create'] = LogFormatter::class;
368}
369
371 $wgLogTypes[] = 'pagelang';
372 $wgLogActionsHandlers['pagelang/pagelang'] = [
373 'class' => PageLangLogFormatter::class,
374 'services' => [
375 'LanguageNameUtils',
376 ]
377 ];
378}
379
380if ( $wgPHPSessionHandling !== 'enable' &&
381 $wgPHPSessionHandling !== 'warn' &&
382 $wgPHPSessionHandling !== 'disable'
383) {
384 $wgPHPSessionHandling = 'warn';
385}
386if ( defined( 'MW_NO_SESSION' ) ) {
387 // If the entry point wants no session, force 'disable' here unless they
388 // specifically set it to the (undocumented) 'warn'.
389 $wgPHPSessionHandling = MW_NO_SESSION === 'warn' ? 'warn' : 'disable';
390}
391
392// Backwards compatibility with old bot passwords storage configs
395}
397 $wgVirtualDomainsMapping['virtual-botpasswords']['cluster'] = $wgBotPasswordsCluster;
398}
399
401 $wgVirtualDomainsMapping['virtual-botpasswords']['db'] = $wgBotPasswordsDatabase;
402}
const NS_MEDIAWIKI
Definition Defines.php:59
const DBO_DEFAULT
Definition defines.php:13
const DBO_DEBUG
Definition defines.php:9
if(isset($wgRateLimits[ 'emailuser'])) if(isset( $wgRateLimits['changetag'])) $wgFileExtensions
if( $wgRightsIcon) if(isset($wgFooterIcons[ 'copyright'][ 'copyright']) &&$wgFooterIcons[ 'copyright'][ 'copyright']===[]) if(isset( $wgFooterIcons['poweredby']) &&isset( $wgFooterIcons['poweredby']['mediawiki']) &&is_array( $wgFooterIcons['poweredby']['mediawiki']) && $wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI]
$wgCanonicalNamespaceNames
Definitions of the NS_ constants are in Defines.php.
$wgLocalFileRepo['directory']
if(count( $wgDummyLanguageCodes) !==0) $wgDummyLanguageCodes
$wgLockManagers[]
$wgDefaultUserOptions['rcdays']
$wgSettings
Definition Setup.php:143
Base class for file repositories.
Definition FileRepo.php:51
A foreign repository for a remote MediaWiki accessible through api.php requests.
A foreign repository with an accessible MediaWiki database.
Methods for dealing with language codes.
Implements the default log formatting.
This class formats new user log entries.
This class formats language change log entries.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
$wgProhibitedFileExtensions
Config variable stub for the ProhibitedFileExtensions setting, for use by phpdoc and IDEs.
$wgRightsIcon
Config variable stub for the RightsIcon setting, for use by phpdoc and IDEs.
$wgCacheEpoch
Config variable stub for the CacheEpoch setting, for use by phpdoc and IDEs.
$wgSharedThumbnailScriptPath
Config variable stub for the SharedThumbnailScriptPath setting, for use by phpdoc and IDEs.
$wgEnotifWatchlist
Config variable stub for the EnotifWatchlist setting, for use by phpdoc and IDEs.
$wgDBuser
Config variable stub for the DBuser setting, for use by phpdoc and IDEs.
$wgUpdateCompatibleMetadata
Config variable stub for the UpdateCompatibleMetadata setting, for use by phpdoc and IDEs.
$wgEnotifUserTalk
Config variable stub for the EnotifUserTalk setting, for use by phpdoc and IDEs.
$wgPageLanguageUseDB
Config variable stub for the PageLanguageUseDB setting, for use by phpdoc and IDEs.
$wgUseInstantCommons
Config variable stub for the UseInstantCommons setting, for use by phpdoc and IDEs.
$wgBotPasswordsCluster
Config variable stub for the BotPasswordsCluster setting, for use by phpdoc and IDEs.
$wgHashedSharedUploadDirectory
Config variable stub for the HashedSharedUploadDirectory setting, for use by phpdoc and IDEs.
$wgGenerateThumbnailOnParse
Config variable stub for the GenerateThumbnailOnParse setting, for use by phpdoc and IDEs.
$wgRightsUrl
Config variable stub for the RightsUrl setting, for use by phpdoc and IDEs.
$wgEnableUserEmail
Config variable stub for the EnableUserEmail setting, for use by phpdoc and IDEs.
$wgLogNames
Config variable stub for the LogNames setting, for use by phpdoc and IDEs.
$wgSharedUploadPath
Config variable stub for the SharedUploadPath setting, for use by phpdoc and IDEs.
$wgHashedUploadDirectory
Config variable stub for the HashedUploadDirectory setting, for use by phpdoc and IDEs.
$wgInvalidateCacheOnLocalSettingsChange
Config variable stub for the InvalidateCacheOnLocalSettingsChange setting, for use by phpdoc and IDEs...
$wgThumbnailScriptPath
Config variable stub for the ThumbnailScriptPath setting, for use by phpdoc and IDEs.
$wgBotPasswordsDatabase
Config variable stub for the BotPasswordsDatabase setting, for use by phpdoc and IDEs.
$wgDBtype
Config variable stub for the DBtype setting, for use by phpdoc and IDEs.
$wgUploadDirectory
Config variable stub for the UploadDirectory setting, for use by phpdoc and IDEs.
$wgLogTypes
Config variable stub for the LogTypes setting, for use by phpdoc and IDEs.
$wgShortPagesNamespaceExclusions
Config variable stub for the ShortPagesNamespaceExclusions setting, for use by phpdoc and IDEs.
$wgSharedUploadDirectory
Config variable stub for the SharedUploadDirectory setting, for use by phpdoc and IDEs.
$wgRightsText
Config variable stub for the RightsText setting, for use by phpdoc and IDEs.
$wgEnotifFromEditor
Config variable stub for the EnotifFromEditor setting, for use by phpdoc and IDEs.
$wgPageCreationLog
Config variable stub for the PageCreationLog setting, for use by phpdoc and IDEs.
$wgDatabaseReplicaLagCritical
Config variable stub for the DatabaseReplicaLagCritical setting, for use by phpdoc and IDEs.
$wgEnotifRevealEditorAddress
Config variable stub for the EnotifRevealEditorAddress setting, for use by phpdoc and IDEs.
$wgFooterIcons
Config variable stub for the FooterIcons setting, for use by phpdoc and IDEs.
$wgUploadPath
Config variable stub for the UploadPath setting, for use by phpdoc and IDEs.
$wgCacheSharedUploads
Config variable stub for the CacheSharedUploads setting, for use by phpdoc and IDEs.
$wgEnableEmail
Config variable stub for the EnableEmail setting, for use by phpdoc and IDEs.
$wgUseXssLanguage
Config variable stub for the UseXssLanguage setting, for use by phpdoc and IDEs.
$wgUsersNotifiedOnAllChanges
Config variable stub for the UsersNotifiedOnAllChanges setting, for use by phpdoc and IDEs.
$wgRCMaxAge
Config variable stub for the RCMaxAge setting, for use by phpdoc and IDEs.
$wgLocaltimezone
Config variable stub for the Localtimezone setting, for use by phpdoc and IDEs.
$wgUserEmailUseReplyTo
Config variable stub for the UserEmailUseReplyTo setting, for use by phpdoc and IDEs.
$wgUploadBaseUrl
Config variable stub for the UploadBaseUrl setting, for use by phpdoc and IDEs.
$wgGroupPermissions
Config variable stub for the GroupPermissions setting, for use by phpdoc and IDEs.
$wgVirtualDomainsMapping
Config variable stub for the VirtualDomainsMapping setting, for use by phpdoc and IDEs.
$wgDeletedDirectory
Config variable stub for the DeletedDirectory setting, for use by phpdoc and IDEs.
$wgScriptPath
Config variable stub for the ScriptPath setting, for use by phpdoc and IDEs.
$wgAllowHTMLEmail
Config variable stub for the AllowHTMLEmail setting, for use by phpdoc and IDEs.
$wgSharedUploadDBname
Config variable stub for the SharedUploadDBname setting, for use by phpdoc and IDEs.
$wgLogos
Config variable stub for the Logos setting, for use by phpdoc and IDEs.
$wgForeignFileRepos
Config variable stub for the ForeignFileRepos setting, for use by phpdoc and IDEs.
$wgRepositoryBaseUrl
Config variable stub for the RepositoryBaseUrl setting, for use by phpdoc and IDEs.
$wgLogHeaders
Config variable stub for the LogHeaders setting, for use by phpdoc and IDEs.
$wgSharedUploadDBprefix
Config variable stub for the SharedUploadDBprefix setting, for use by phpdoc and IDEs.
$wgEnotifMinorEdits
Config variable stub for the EnotifMinorEdits setting, for use by phpdoc and IDEs.
$wgDebugDumpSql
Config variable stub for the DebugDumpSql setting, for use by phpdoc and IDEs.
$wgDatabaseReplicaLagWarning
Config variable stub for the DatabaseReplicaLagWarning setting, for use by phpdoc and IDEs.
$wgFetchCommonsDescriptions
Config variable stub for the FetchCommonsDescriptions setting, for use by phpdoc and IDEs.
$wgDBserver
Config variable stub for the DBserver setting, for use by phpdoc and IDEs.
$wgMimeTypeExclusions
Config variable stub for the MimeTypeExclusions setting, for use by phpdoc and IDEs.
$wgExtraLanguageCodes
Config variable stub for the ExtraLanguageCodes setting, for use by phpdoc and IDEs.
$wgEmailAuthentication
Config variable stub for the EmailAuthentication setting, for use by phpdoc and IDEs.
$wgLogo
Config variable stub for the Logo setting, for use by phpdoc and IDEs.
$wgLogActionsHandlers
Config variable stub for the LogActionsHandlers setting, for use by phpdoc and IDEs.
$wgRateLimits
Config variable stub for the RateLimits setting, for use by phpdoc and IDEs.
$wgPHPSessionHandling
Config variable stub for the PHPSessionHandling setting, for use by phpdoc and IDEs.
$wgUseSharedUploads
Config variable stub for the UseSharedUploads setting, for use by phpdoc and IDEs.
$wgDBpassword
Config variable stub for the DBpassword setting, for use by phpdoc and IDEs.
$wgFavicon
Config variable stub for the Favicon setting, for use by phpdoc and IDEs.
$wgEnotifUseRealName
Config variable stub for the EnotifUseRealName setting, for use by phpdoc and IDEs.
$wgNewUserLog
Config variable stub for the NewUserLog setting, for use by phpdoc and IDEs.
const MW_NO_SESSION
Definition load.php:18