Revision: 48490
Author: raymond
Date: 2009-03-17 15:40:44 +0000 (Tue, 17 Mar 2009)
Log Message:
-----------
Follow up r48456: Document the new right in DefaultSettings.
* Document the hard coded limit of 5
* Add a right-... message for the new right
Modified Paths:
--------------
trunk/phase3/includes/DefaultSettings.php
trunk/phase3/languages/messages/MessagesEn.php
trunk/phase3/maintenance/language/messages.inc
Modified: trunk/phase3/includes/DefaultSettings.php
===================================================================
--- trunk/phase3/includes/DefaultSettings.php 2009-03-17 15:27:48 UTC (rev
48489)
+++ trunk/phase3/includes/DefaultSettings.php 2009-03-17 15:40:44 UTC (rev
48490)
@@ -1259,6 +1259,8 @@
# $wgGroupPermissions['bureaucrat']['reset-passwords'] = true;
// Permission to change users' groups assignments across wikis
#$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
+// Permission to export pages including linked pages regardless of
$wgExportMaxLinkDepth
+#$wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
#$wgGroupPermissions['sysop']['deleterevision'] = true;
// To hide usernames from users and Sysops
@@ -2298,10 +2300,13 @@
* pages linked to from the pages you specify. Since this number
* can become *insanely large* and could easily break your wiki,
* it's disabled by default for now.
+ *
+ * There's a HARD CODED limit of 5 levels of recursion to prevent a
+ * crazy-big export from being done by someone setting the depth
+ * number too high. In other words, last resort safety net.
*/
$wgExportMaxLinkDepth = 0;
-
/**
* Edits matching these regular expressions in body text
* will be recognised as spam and rejected automatically.
Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php 2009-03-17 15:27:48 UTC
(rev 48489)
+++ trunk/phase3/languages/messages/MessagesEn.php 2009-03-17 15:40:44 UTC
(rev 48490)
@@ -1721,6 +1721,7 @@
'right-userrights-interwiki' => 'Edit user rights of users on other wikis',
'right-siteadmin' => 'Lock and unlock the database',
'right-reset-passwords' => "Reset other users' passwords",
+'right-override-export-depth' => 'Export pages including linked pages up to a
depth of 5',
# User rights log
'rightslog' => 'User rights log',
Modified: trunk/phase3/maintenance/language/messages.inc
===================================================================
--- trunk/phase3/maintenance/language/messages.inc 2009-03-17 15:27:48 UTC
(rev 48489)
+++ trunk/phase3/maintenance/language/messages.inc 2009-03-17 15:40:44 UTC
(rev 48490)
@@ -1038,6 +1038,7 @@
'right-userrights-interwiki',
'right-siteadmin',
'right-reset-passwords',
+ 'right-override-export-depth',
),
'rightslog' => array(
'rightslog',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs