diff options
author | jenkins-bot <jenkins-bot@gerrit.wikimedia.org> | 2013-01-04 18:18:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2013-01-04 18:18:01 +0000 |
commit | e5e3aa90e698f67e5447b5fd93e5c3c379483a73 (patch) | |
tree | 41e625dd1a84ad80ff8a6e68489a12b7b0b12640 | |
parent | f8c494893babe09a207a30a909d482dc610aae9b (diff) | |
parent | 520d784a64ccdc993016e6e4e9821b10075e63ca (diff) | |
download | mediawikicore-e5e3aa90e698f67e5447b5fd93e5c3c379483a73.tar.gz mediawikicore-e5e3aa90e698f67e5447b5fd93e5c3c379483a73.zip |
Merge "Remove "read" from list of allowed actions on special pages"
-rw-r--r-- | includes/Title.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Title.php b/includes/Title.php index a20367dcefb1..48791f02dc89 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1840,7 +1840,7 @@ class Title { private function checkSpecialsAndNSPermissions( $action, $user, $errors, $doExpensiveQueries, $short ) { # Only 'createaccount' and 'execute' can be performed on # special pages, which don't actually exist in the DB. - $specialOKActions = array( 'createaccount', 'execute', 'read' ); + $specialOKActions = array( 'createaccount', 'execute' ); if ( NS_SPECIAL == $this->mNamespace && !in_array( $action, $specialOKActions ) ) { $errors[] = array( 'ns-specialprotected' ); } |