Index: trunk/phase3/includes/Article.php |
— | — | @@ -611,8 +611,8 @@ |
612 | 612 | protected function showCssOrJsPage() { |
613 | 613 | global $wgOut; |
614 | 614 | |
615 | | - $dir = $this->getLang()->getDir(); |
616 | | - $lang = $this->getLang()->getCode(); |
| 615 | + $dir = $this->getContext()->getLang()->getDir(); |
| 616 | + $lang = $this->getContext()->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' ); |