From: Rotem Liss Date: Thu, 15 Nov 2007 14:47:40 +0000 (+0000) Subject: Fixes. X-Git-Tag: 1.31.0-rc.0~50861 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=bfebbfff0460e06e7bcfeda1a9b945c9cf69b89a;p=lhc%2Fweb%2Fwiklou.git Fixes. --- diff --git a/includes/Title.php b/includes/Title.php index 49a93ceacc..08ff064908 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -931,7 +931,7 @@ class Title { /** * Does the title correspond to a protected article? * @param string $what the action the page is protected from, - * by default checks move and edit + * by default checks move and edit * @return boolean */ public function isProtected( $action = '' ) { @@ -980,7 +980,7 @@ class Title { return $this->mWatched; } - /** + /** * Can $wgUser perform $action on this page? * This skips potentially expensive cascading permission checks. * @@ -999,7 +999,7 @@ class Title { /** * Determines if $wgUser is unable to edit this page because it has been protected * by $wgNamespaceProtection. - * + * * @return boolean */ public function isNamespaceProtected() { @@ -1013,7 +1013,7 @@ class Title { return false; } - /** + /** * Can $wgUser perform $action on this page? * @param string $action action that permission needs to be checked for * @param bool $doExpensiveQueries Set this to false to avoid doing unnecessary queries. @@ -1024,7 +1024,7 @@ class Title { return ( $this->getUserPermissionsErrorsInternal( $action, $wgUser, $doExpensiveQueries ) === array()); } - /** + /** * Can $user perform $action on this page? * @param string $action action that permission needs to be checked for * @param bool $doExpensiveQueries Set this to false to avoid doing unnecessary queries.