* MediaWiki version number
* @since 1.2
*/
-$wgVersion = '1.28.0-alpha';
+$wgVersion = '1.29.0-alpha';
/**
* Name of the site. It must be changed in LocalSettings.php
* - CACHE_NONE: Do not cache
* - CACHE_DB: Store cache objects in the DB
* - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCachedServers
- * - CACHE_ACCEL: APC, XCache or WinCache
+ * - CACHE_ACCEL: APC, APCU, XCache or WinCache
* - (other): A string may be used which identifies a cache
* configuration in $wgObjectCaches.
*
],
'apc' => [ 'class' => 'APCBagOStuff', 'reportDupes' => false ],
+ 'apcu' => [ 'class' => 'APCUBagOStuff', 'reportDupes' => false ],
'xcache' => [ 'class' => 'XCacheBagOStuff', 'reportDupes' => false ],
'wincache' => [ 'class' => 'WinCacheBagOStuff', 'reportDupes' => false ],
'memcached-php' => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
* @since 1.28
*/
$wgEnableMagicLinks = [
- 'ISBN' => true,
- 'PMID' => true,
- 'RFC' => true
+ 'ISBN' => false,
+ 'PMID' => false,
+ 'RFC' => false
];
/** @} */ # end of parser settings }
* elapses.
*
* @par Example:
- * To set a generic maximum of 4 hits in 60 seconds:
- * @code
- * $wgRateLimits = [ 4, 60 ];
- * @endcode
- *
- * @par Example:
- * You could also limit per action and then type of users.
+ * Limits per configured per action and then type of users.
* @code
* $wgRateLimits = [
* 'edit' => [
* 'newbie' => [ x, y ], // each new autoconfirmed accounts; overrides 'user'
* 'ip' => [ x, y ], // each anon and recent account
* 'subnet' => [ x, y ], // ... within a /24 subnet in IPv4 or /64 in IPv6
+ * 'groupName' => [ x, y ], // by group membership
* ]
- * ]
+ * ];
+ * @endcode
+ *
+ * @par Normally, the 'noratelimit' right allows a user to bypass any rate
+ * limit checks. This can be disabled on a per-action basis by setting the
+ * special '&can-bypass' key to false in that action's configuration.
+ * @code
+ * $wgRateLimits = [
+ * 'some-action' => [
+ * '&can-bypass' => false,
+ * 'user' => [ x, y ],
+ * ];
* @endcode
*
* @warning Requires that $wgMainCacheType is set to something persistent
$wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
$wgGrantPermissions['viewdeleted']['deletedtext'] = true;
+$wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
+
$wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
$wgGrantPermissions['viewdeleted'];
$wgGrantPermissions['delete']['delete'] = true;
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
+ 'viewrestrictedlogs' => 'administration',
'protect' => 'administration',
'createaccount' => 'administration',
'JobRunner' => [
'readQueryTime' => 30,
'writeQueryTime' => 5,
- 'maxAffected' => 1000
+ 'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
],
// Command-line scripts
'Maintenance' => [