Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -23,11 +23,13 @@ |
24 | 24 | $diff = $wgRequest->getVal( 'diff' ); |
25 | 25 | $diffOnly = $wgRequest->getBool( 'diffonly', $wgUser->getOption( 'diffonly' ) ); |
26 | 26 | |
27 | | - if ( isset( $diff ) && $diffOnly ) |
| 27 | + if ( isset( $diff ) && $diffOnly ) { |
28 | 28 | return parent::view(); |
| 29 | + } |
29 | 30 | |
30 | | - if ( !wfRunHooks( 'CategoryPageView', array( &$this ) ) ) |
| 31 | + if ( !wfRunHooks( 'CategoryPageView', array( &$this ) ) ) { |
31 | 32 | return; |
| 33 | + } |
32 | 34 | |
33 | 35 | if ( NS_CATEGORY == $this->mTitle->getNamespace() ) { |
34 | 36 | $this->openShowCategory(); |
Index: trunk/phase3/includes/User.php |
— | — | @@ -3207,7 +3207,7 @@ |
3208 | 3208 | * Return the set of defined explicit groups. |
3209 | 3209 | * The implicit groups (by default *, 'user' and 'autoconfirmed') |
3210 | 3210 | * are not included, as they are defined automatically, not in the database. |
3211 | | - * @return \type{\arrayof{\string}} Array of internal group names |
| 3211 | + * @return Array of internal group names |
3212 | 3212 | */ |
3213 | 3213 | static function getAllGroups() { |
3214 | 3214 | global $wgGroupPermissions, $wgRevokePermissions; |
— | — | @@ -3219,7 +3219,7 @@ |
3220 | 3220 | |
3221 | 3221 | /** |
3222 | 3222 | * Get a list of all available permissions. |
3223 | | - * @return \type{\arrayof{\string}} Array of permission names |
| 3223 | + * @return Array of permission names |
3224 | 3224 | */ |
3225 | 3225 | static function getAllRights() { |
3226 | 3226 | if ( self::$mAllRights === false ) { |
Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -3206,7 +3206,7 @@ |
3207 | 3207 | /** |
3208 | 3208 | * Get an object referring to a locally registered file. |
3209 | 3209 | * Returns a valid placeholder object if the file does not exist. |
3210 | | - * @param $title Either a string or Title object |
| 3210 | + * @param $title Title|String |
3211 | 3211 | * @return File, or null if passed an invalid Title |
3212 | 3212 | */ |
3213 | 3213 | function wfLocalFile( $title ) { |
Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -604,7 +604,7 @@ |
605 | 605 | * comment (you can use __METHOD__ or add some extra info) |
606 | 606 | * @param $tempIgnore Boolean: Whether to avoid throwing an exception on errors... |
607 | 607 | * maybe best to catch the exception instead? |
608 | | - * @return true for a successful write query, ResultWrapper object for a successful read query, |
| 608 | + * @return boolean|ResultWrapper true for a successful write query, ResultWrapper object for a successful read query, |
609 | 609 | * or false on failure if $tempIgnore set |
610 | 610 | * @throws DBQueryError Thrown when the database returns an error of any kind |
611 | 611 | */ |
Index: trunk/phase3/includes/PageQueryPage.php |
— | — | @@ -18,8 +18,9 @@ |
19 | 19 | global $wgContLang; |
20 | 20 | $title = Title::makeTitleSafe( $row->namespace, $row->title ); |
21 | 21 | $text = $row->title; |
22 | | - if ($title instanceof Title) |
23 | | - $text = $wgContLang->convert( $title->getPrefixedText() ); |
24 | | - return $skin->link( $title, htmlspecialchars($text), array(), array(), array('known', 'noclasses') ); |
| 22 | + if ( $title instanceof Title ) { |
| 23 | + $text = $wgContLang->convert( $title->getPrefixedText() ); |
| 24 | + } |
| 25 | + return $skin->link( $title, htmlspecialchars( $text ), array(), array(), array('known', 'noclasses') ); |
25 | 26 | } |
26 | 27 | } |
Index: trunk/phase3/includes/memcached-client.php |
— | — | @@ -240,7 +240,7 @@ |
241 | 241 | /** |
242 | 242 | * Memcache initializer |
243 | 243 | * |
244 | | - * @param $args Associative array of settings |
| 244 | + * @param $args Array Associative array of settings |
245 | 245 | * |
246 | 246 | * @return mixed |
247 | 247 | */ |