r27522 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27521‎ | r27522 | r27523 >
Date:14:47, 15 November 2007
Author:rotem
Status:old
Tags:
Comment:
Fixes.
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -931,7 +931,7 @@
932932 /**
933933 * Does the title correspond to a protected article?
934934 * @param string $what the action the page is protected from,
935 - * by default checks move and edit
 935+ * by default checks move and edit
936936 * @return boolean
937937 */
938938 public function isProtected( $action = '' ) {
@@ -980,7 +980,7 @@
981981 return $this->mWatched;
982982 }
983983
984 - /**
 984+ /**
985985 * Can $wgUser perform $action on this page?
986986 * This skips potentially expensive cascading permission checks.
987987 *
@@ -999,7 +999,7 @@
10001000 /**
10011001 * Determines if $wgUser is unable to edit this page because it has been protected
10021002 * by $wgNamespaceProtection.
1003 - *
 1003+ *
10041004 * @return boolean
10051005 */
10061006 public function isNamespaceProtected() {
@@ -1013,7 +1013,7 @@
10141014 return false;
10151015 }
10161016
1017 - /**
 1017+ /**
10181018 * Can $wgUser perform $action on this page?
10191019 * @param string $action action that permission needs to be checked for
10201020 * @param bool $doExpensiveQueries Set this to false to avoid doing unnecessary queries.
@@ -1024,7 +1024,7 @@
10251025 return ( $this->getUserPermissionsErrorsInternal( $action, $wgUser, $doExpensiveQueries ) === array());
10261026 }
10271027
1028 - /**
 1028+ /**
10291029 * Can $user perform $action on this page?
10301030 * @param string $action action that permission needs to be checked for
10311031 * @param bool $doExpensiveQueries Set this to false to avoid doing unnecessary queries.

Status & tagging log