aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2013-01-04 18:18:01 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2013-01-04 18:18:01 +0000
commite5e3aa90e698f67e5447b5fd93e5c3c379483a73 (patch)
tree41e625dd1a84ad80ff8a6e68489a12b7b0b12640
parentf8c494893babe09a207a30a909d482dc610aae9b (diff)
parent520d784a64ccdc993016e6e4e9821b10075e63ca (diff)
downloadmediawikicore-e5e3aa90e698f67e5447b5fd93e5c3c379483a73.tar.gz
mediawikicore-e5e3aa90e698f67e5447b5fd93e5c3c379483a73.zip
Merge "Remove "read" from list of allowed actions on special pages"
-rw-r--r--includes/Title.php2
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' );
}