Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1107,6 +1107,7 @@ |
1108 | 1108 | 'right-reset-passwords', |
1109 | 1109 | 'right-override-export-depth', |
1110 | 1110 | 'right-versiondetail', |
| 1111 | + 'right-root', |
1111 | 1112 | ), |
1112 | 1113 | 'rightslog' => array( |
1113 | 1114 | 'rightslog', |
Index: trunk/phase3/includes/User.php |
— | — | @@ -2152,6 +2152,7 @@ |
2153 | 2153 | # Use strict parameter to avoid matching numeric 0 accidentally inserted |
2154 | 2154 | # by misconfiguration: 0 == 'foo' |
2155 | 2155 | return in_array( $action, $this->getRights(), true ) |
| 2156 | + || in_array( 'root', $this->getRights(), true ); |
2156 | 2157 | } |
2157 | 2158 | |
2158 | 2159 | /** |
Index: trunk/phase3/languages/messages/MessagesQqq.php |
— | — | @@ -1348,6 +1348,9 @@ |
1349 | 1349 | 'right-versiondetail' => '{{doc-right|versiondetail}} |
1350 | 1350 | |
1351 | 1351 | Users having this right receive more detailed information on [[Special:Version]].', |
| 1352 | +'right-root' => '{{doc-right|root}} |
| 1353 | +Analogous to the \'root\' permission on Unix systems, allows the user to perform \'\'any\'\' action on the wiki; effectively granting them all other permissions. |
| 1354 | +', |
1352 | 1355 | |
1353 | 1356 | # User rights log |
1354 | 1357 | 'rightslog' => 'In [[Special:Log]]', |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1042,7 +1042,7 @@ |
1043 | 1043 | 'login' => 'Log in', |
1044 | 1044 | 'nav-login-createaccount' => 'Log in / create account', |
1045 | 1045 | 'loginprompt' => 'You must have cookies enabled to log in to {{SITENAME}}.', |
1046 | | -'userlogin' => 'Log in / create account', |
| 1046 | +'userlogin' => 'Log in', |
1047 | 1047 | 'logout' => 'Log out', |
1048 | 1048 | 'userlogout' => 'Log out', |
1049 | 1049 | 'notloggedin' => 'Not logged in', |
— | — | @@ -1090,6 +1090,7 @@ |
1091 | 1091 | and you no longer wish to change it, you may ignore this message and |
1092 | 1092 | continue using your old password.', |
1093 | 1093 | 'noemail' => 'There is no e-mail address recorded for user "$1".', |
| 1094 | +'noemailcreate' => 'You need to provide a valid email address', |
1094 | 1095 | 'passwordsent' => 'A new password has been sent to the e-mail address registered for "$1". |
1095 | 1096 | Please log in again after you receive it.', |
1096 | 1097 | 'blocked-mailpassword' => 'Your IP address is blocked from editing, and so is not allowed to use the password recovery function to prevent abuse.', |
— | — | @@ -1926,6 +1927,7 @@ |
1927 | 1928 | 'right-reset-passwords' => "Reset other users' passwords", |
1928 | 1929 | 'right-override-export-depth' => 'Export pages including linked pages up to a depth of 5', |
1929 | 1930 | 'right-versiondetail' => 'Show the extended software version information', |
| 1931 | +'right-root' => 'Perform all actions on the wiki', |
1930 | 1932 | |
1931 | 1933 | # User rights log |
1932 | 1934 | 'rightslog' => 'User rights log', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -230,6 +230,9 @@ |
231 | 231 | $wgAJAXCategoriesNamespaces. |
232 | 232 | * Admins could disable some variants using $wgDisabledVariants now. ONLY apply on |
233 | 233 | wikis enabled LanguageConverter. |
| 234 | +* A new permission, 'root', is created. Analogous to root users on Unix systems, |
| 235 | + the root permission effectively grants all other permissions on a wiki. Useful |
| 236 | + for debugging and administration. |
234 | 237 | |
235 | 238 | === Bug fixes in 1.16 === |
236 | 239 | |