Index: trunk/extensions/HelpCommons/HelpCommons.php |
— | — | @@ -92,7 +92,7 @@ |
93 | 93 | * @param $fields |
94 | 94 | * @return bool |
95 | 95 | */ |
96 | | -function wfHelpCommonsRedirectTalks( $article, $fields ) { |
| 96 | +function wfHelpCommonsRedirectTalks( &$article, &$outputDone, &$pcache ) { |
97 | 97 | global $wgTitle, $wgOut, $wgContLang, $wgHelpCommonsFetchingWikis, $wgLanguageCode, $wgDBname; |
98 | 98 | |
99 | 99 | if ( $wgTitle->getNamespace() != NS_HELP_TALK ) { |
— | — | @@ -201,7 +201,6 @@ |
202 | 202 | global $wgHelpCommonsFetchingWikis, $wgDBname; |
203 | 203 | |
204 | 204 | foreach ( $wgHelpCommonsFetchingWikis as $urls ) { |
205 | | - // FIXME: don't use global esk variable names for non globals |
206 | 205 | foreach ( $urls as $url => $helpwiki ) { |
207 | 206 | // only protect Help pages on non-help-pages-fetching wikis |
208 | 207 | if( $wgDBname != $helpwiki ) { |