* @return void
*/
public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) {
- global $wgContLang;
# If it's a new article, there is no diff link, but if it hasn't been
# patrolled yet, we need to give users a way to do so
$params = array();
* Enhanced RC group
*/
protected function recentChangesBlockGroup( $block ) {
- global $wgLang, $wgContLang, $wgRCShowChangedSize;
+ global $wgLang, $wgRCShowChangedSize;
wfProfileIn( __METHOD__ );
'style' => '' // avoid php notices when appending preferences (appending allows customAttribs['style'] to still work
);
- global $wgBetterDirectionality, $wgContLang;
+ global $wgBetterDirectionality;
if( $wgBetterDirectionality ) {
$pageLang = $this->mTitle->getPageLanguage();
$attribs['lang'] = $pageLang->getCode();