From: Alexandre Emsenhuber Date: Thu, 21 Jul 2011 20:23:30 +0000 (+0000) Subject: Fix for r92702: there's no such method in Article class X-Git-Tag: 1.31.0-rc.0~28695 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=7a46a6ff003404e493f5c9805e96e1ef0037b424;p=lhc%2Fweb%2Fwiklou.git Fix for r92702: there's no such method in Article class --- diff --git a/includes/Article.php b/includes/Article.php index 33aac3835a..998f378c77 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -611,8 +611,8 @@ class Article extends Page { protected function showCssOrJsPage() { global $wgOut; - $dir = $this->getLang()->getDir(); - $lang = $this->getLang()->getCode(); + $dir = $this->getContext()->getLang()->getDir(); + $lang = $this->getContext()->getLang()->getCode(); $wgOut->wrapWikiMsg( "
\n$1\n
", 'clearyourcache' );