Index: trunk/phase3/includes/ChangeTags.php |
— | — | @@ -179,7 +179,11 @@ |
180 | 180 | return $html; |
181 | 181 | } |
182 | 182 | |
183 | | - /** Basically lists defined tags which count even if they aren't applied to anything */ |
| 183 | + /** |
| 184 | + *Basically lists defined tags which count even if they aren't applied to anything |
| 185 | + * |
| 186 | + * @return array |
| 187 | + */ |
184 | 188 | static function listDefinedTags() { |
185 | 189 | // Caching... |
186 | 190 | global $wgMemc; |
Index: trunk/phase3/includes/api/ApiFeedWatchlist.php |
— | — | @@ -117,10 +117,12 @@ |
118 | 118 | $feedItems[] = $this->createFeedItem( $info ); |
119 | 119 | } |
120 | 120 | |
121 | | - $feedTitle = $wgSitename . ' - ' . wfMsgForContent( 'watchlist' ) . ' [' . $wgLanguageCode . ']'; |
| 121 | + $msg = wfMsgForContent( 'watchlist' ); |
| 122 | + |
| 123 | + $feedTitle = $wgSitename . ' - ' . $msg . ' [' . $wgLanguageCode . ']'; |
122 | 124 | $feedUrl = SpecialPage::getTitleFor( 'Watchlist' )->getFullURL(); |
123 | 125 | |
124 | | - $feed = new $wgFeedClasses[$params['feedformat']] ( $feedTitle, htmlspecialchars( wfMsgForContent( 'watchlist' ) ), $feedUrl ); |
| 126 | + $feed = new $wgFeedClasses[$params['feedformat']] ( $feedTitle, htmlspecialchars( $msg ), $feedUrl ); |
125 | 127 | |
126 | 128 | ApiFormatFeedWrapper::setResult( $this->getResult(), $feed, $feedItems ); |
127 | 129 | |
Index: trunk/phase3/includes/api/ApiQueryImages.php |
— | — | @@ -50,7 +50,6 @@ |
51 | 51 | |
52 | 52 | /** |
53 | 53 | * @param $resultPageSet ApiPageSet |
54 | | - * @return |
55 | 54 | */ |
56 | 55 | private function run( $resultPageSet = null ) { |
57 | 56 | if ( $this->getPageSet()->getGoodTitleCount() == 0 ) { |
Index: trunk/phase3/includes/specials/SpecialWhatlinkshere.php |
— | — | @@ -93,11 +93,11 @@ |
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | | - * @param $level int Recursion level |
| 97 | + * @param $level int Recursion level |
98 | 98 | * @param $target Title Target title |
99 | | - * @param $limit int Number of entries to display |
100 | | - * @param $from Title Display from this article ID |
101 | | - * @param $back Title Display from this article ID at backwards scrolling |
| 99 | + * @param $limit int Number of entries to display |
| 100 | + * @param $from Title Display from this article ID |
| 101 | + * @param $back Title Display from this article ID at backwards scrolling |
102 | 102 | */ |
103 | 103 | function showIndirectLinks( $level, $target, $limit, $from = 0, $back = 0 ) { |
104 | 104 | global $wgMaxRedirectLinksRetrieved; |
Index: trunk/phase3/includes/specials/SpecialWatchlist.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | global $wgFeedClasses; |
51 | 51 | $apiParams = array( 'action' => 'feedwatchlist', 'allrev' => 'allrev', |
52 | 52 | 'wlowner' => $wgUser->getName(), 'wltoken' => $wlToken ); |
53 | | - $feedTemplate = wfScript('api') . '?'; |
| 53 | + $feedTemplate = wfScript( 'api' ) . '?'; |
54 | 54 | |
55 | 55 | foreach( $wgFeedClasses as $format => $class ) { |
56 | 56 | $theseParams = $apiParams + array( 'feedformat' => $format ); |