Index: trunk/phase3/includes/Article.php |
— | — | @@ -609,10 +609,10 @@ |
610 | 610 | * page views. |
611 | 611 | */ |
612 | 612 | protected function showCssOrJsPage() { |
613 | | - global $wgOut, $wgLang; |
| 613 | + global $wgOut; |
614 | 614 | |
615 | | - $dir = $wgLang->getDir(); |
616 | | - $lang = $wgLang->getCode(); |
| 615 | + $dir = $this->getLang()->getDir(); |
| 616 | + $lang = $this->getLang()->getCode(); |
617 | 617 | |
618 | 618 | $wgOut->wrapWikiMsg( "<div id='mw-clearyourcache' lang='$lang' dir='$dir' class='mw-content-$dir'>\n$1\n</div>", |
619 | 619 | 'clearyourcache' ); |