* main database.
* For backwards compatibility the shared prefix is set to the same as the local
* prefix, and the user table is listed in the default list of shared tables.
- *
+ *
* $wgSharedTables may be customized with a list of tables to share in the shared
* datbase. However it is advised to limit what tables you do share as many of
* MediaWiki's tables may have side effects if you try to share them.
*/
$wgLocalMessageCacheSerialized = true;
-/**
- * Cache messages in MesssageCache per language, instead of all them together.
- * Enable this if you have thousands of messages in MediaWiki namespace in many
- * different languages.
- */
-$wgPerLanguageCaching = false;
-
/**
* Directory for compiled constant message array databases
* WARNING: turning anything on will just break things, aaaaaah!!!!
*/
$wgDebugLogGroups = array();
+/**
+ * Show the contents of $wgHooks in Special:Version
+ */
+$wgSpecialVersionShowHooks = false;
+
/**
* Whether to show "we're sorry, but there has been a database error" pages.
* Displaying errors aids in debugging, but may display information useful
// Implicit group for all logged-in accounts
$wgGroupPermissions['user' ]['move'] = true;
+$wgGroupPermissions['user' ]['move-subpages'] = true;
$wgGroupPermissions['user' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = true;
$wgGroupPermissions['user' ]['createpage'] = true;
$wgGroupPermissions['sysop']['import'] = true;
$wgGroupPermissions['sysop']['importupload'] = true;
$wgGroupPermissions['sysop']['move'] = true;
+$wgGroupPermissions['sysop']['move-subpages'] = true;
$wgGroupPermissions['sysop']['patrol'] = true;
$wgGroupPermissions['sysop']['autopatrol'] = true;
$wgGroupPermissions['sysop']['protect'] = true;
$wgGroupPermissions['sysop']['suppressredirect'] = true;
$wgGroupPermissions['sysop']['apihighlimits'] = true;
$wgGroupPermissions['sysop']['browsearchive'] = true;
+$wgGroupPermissions['sysop']['noratelimit'] = true;
#$wgGroupPermissions['sysop']['mergehistory'] = true;
// Permission to change users' group assignments
$wgGroupPermissions['bureaucrat']['userrights'] = true;
+$wgGroupPermissions['bureaucrat']['noratelimit'] = true;
// Permission to change users' groups assignments across wikis
#$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
/**
- * A list of available rights, in addition to the ones defined by the core.
+ * A list of available rights, in addition to the ones defined by the core.
* For extensions only.
*/
$wgAvailableRights = array();
*/
$wgDeleteRevisionsLimit = 0;
+/**
+ * Used to figure out if a user is "active" or not. User::isActiveEditor()
+ * sees if a user has made at least $wgActiveUserEditCount number of edits
+ * within the last $wgActiveUserDays days.
+ */
+$wgActiveUserEditCount = 30;
+$wgActiveUserDays = 30;
+
# Proxy scanner settings
#
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '149';
+$wgStyleVersion = '158';
# Server-side caching:
/**
* Set to true to have nicer highligted text in search results,
- * by default off due to execution overhead
+ * by default off due to execution overhead
*/
$wgAdvancedSearchHighlighting = false;
-/**
+/**
* Regexp to match word boundaries, defaults for non-CJK languages
- * should be empty for CJK since the words are not separate
+ * should be empty for CJK since the words are not separate
*/
-$wgSearchHighlightBoundaries = version_compare("5.1", PHP_VERSION, "<")? '[\p{Z}\p{P}\p{C}]'
+$wgSearchHighlightBoundaries = version_compare("5.1", PHP_VERSION, "<")? '[\p{Z}\p{P}\p{C}]'
: '[ ,.;:!?~!@#$%\^&*\(\)+=\-\\|\[\]"\'<>\n\r\/{}]'; // PHP 5.0 workaround
/**
* Template for OpenSearch suggestions, defaults to API action=opensearch
- *
+ *
* Sites with heavy load would tipically have these point to a custom
* PHP wrapper to avoid firing up mediawiki for every keystroke
- *
+ *
* Placeholders: {searchTerms}
- *
+ *
*/
$wgOpenSearchTemplate = false;
/**
- * Enable suggestions while typing in search boxes
- * (results are passed around in OpenSearch format)
+ * Enable suggestions while typing in search boxes
+ * (results are passed around in OpenSearch format)
*/
$wgEnableMWSuggest = false;
/**
* Template for internal MediaWiki suggestion engine, defaults to API action=opensearch
- *
+ *
* Placeholders: {searchTerms}, {namespaces}, {dbname}
- *
+ *
*/
$wgMWSuggestTemplate = false;
$wgRC2UDPAddress = false;
$wgRC2UDPPort = false;
$wgRC2UDPPrefix = '';
+$wgRC2UDPOmitBots = false;
# Enable user search in Special:Newpages
# This is really a temporary hack around an index install bug on some Wikipedias.
*/
$wgExtensionMessagesFiles = array();
+/**
+ * Aliases for special pages provided by extensions.
+ * Associative array mapping special page to array of aliases. First alternative
+ * for each special page will be used as the normalised name for it. English
+ * aliases will be added to the end of the list so that they always work. The
+ * file must define a variable $aliases.
+ *
+ * Example:
+ * $wgExtensionAliasesFiles['Translate'] = dirname(__FILE__).'/Translate.alias.php';
+ */
+$wgExtensionAliasesFiles = array();
+
/**
* Parser output hooks.
* This is an associative array where the key is an extension-defined tag
'Unusedtemplates' => 'maintenance',
'Withoutinterwiki' => 'maintenance',
'Longpages' => 'maintenance',
+ 'Shortpages' => 'maintenance',
+ 'Ancientpages' => 'maintenance',
+ 'Deadendpages' => 'maintenance',
+ 'Wantedpages' => 'maintenance',
+ 'Wantedcategories' => 'maintenance',
+ 'Unwatchedpages' => 'maintenance',
+ 'Fewestrevisions' => 'maintenance',
'Userlogin' => 'login',
'Userlogout' => 'login',
'Listbots' => 'users',
'Userrights' => 'users',
'Blockip' => 'users',
-
- 'Wantedpages' => 'needy',
- 'Wantedcategories' => 'needy',
- 'Shortpages' => 'needy',
- 'Ancientpages' => 'needy',
- 'Deadendpages' => 'needy',
+ 'Preferences' => 'users',
+ 'Resetpass' => 'users',
'Mostlinked' => 'highuse',
'Mostlinkedcategories' => 'highuse',
'Mostimages' => 'highuse',
'Mostrevisions' => 'highuse',
- 'Statistics' => 'other',
- 'Fewestrevisions' => 'other',
- 'Randompage' => 'other',
- 'Disambiguations' => 'other',
+ 'Allpages' => 'pages',
+ 'Prefixindex' => 'pages',
+ 'Listredirects' => 'pages',
+ 'Categories' => 'pages',
+ 'Disambiguations' => 'pages',
+
+ 'Randompage' => 'redirects',
+ 'Randomredirect' => 'redirects',
+ 'Mypage' => 'redirects',
+ 'Mytalk' => 'redirects',
+ 'Mycontributions' => 'redirects',
+ 'Search' => 'redirects',
+
+ 'Movepage' => 'pagetools',
+ 'MergeHistory' => 'pagetools',
+ 'Revisiondelete' => 'pagetools',
+ 'Undelete' => 'pagetools',
+ 'Export' => 'pagetools',
+ 'Import' => 'pagetools',
+ 'Whatlinkshere' => 'pagetools',
+
+ 'Statistics' => 'wiki',
+ 'Version' => 'wiki',
+ 'Lockdb' => 'wiki',
+ 'Unlockdb' => 'wiki',
+ 'Allmessages' => 'wiki',
+
'Specialpages' => 'other',
'Blockme' => 'other',
- 'Movepage' => 'other',
- 'MergeHistory' => 'other',
- 'Lockdb' => 'other',
- 'Unlockdb' => 'other',
- 'Version' => 'other',
- 'Whatlinkshere' => 'other',
'Booksources' => 'other',
- 'Revisiondelete' => 'other',
- 'Export' => 'other',
- 'Categories' => 'other',
- 'Undelete' => 'other',
- 'Import' => 'other',
- 'Unwatchedpages' => 'other',
- 'Randomredirect' => 'other',
- 'Allpages' => 'other',
- 'Allmessages' => 'other',
- 'Prefixindex' => 'other',
- 'Listredirects' => 'other',
- 'Preferences' => 'other',
- 'Resetpass' => 'other',
- 'Mypage' => 'other',
- 'Mytalk' => 'other',
- 'Mycontributions' => 'other',
);
/**
/**
* Array of groups which should never trigger the rate limiter
+ *
+ * @deprecated as of 1.13.0, the preferred method is using
+ * $wgGroupPermissions[]['noratelimit']. However, this will still
+ * work if desired.
+ *
+ * $wgRateLimitsExcludedGroups = array( 'sysop', 'bureaucrat' );
*/
-$wgRateLimitsExcludedGroups = array( 'sysop', 'bureaucrat' );
+$wgRateLimitsExcludedGroups = array();
/**
* On Special:Unusedimages, consider images "used", if they are put
*/
$wgDisableQueryPageUpdate = false;
-/**
- * Set this to false to disable cascading protection
- */
-$wgEnableCascadingProtection = true;
-
/**
* Disable output compression (enabled by default if zlib is available)
*/