From: Robin Pepermans Date: Wed, 20 Jul 2011 22:31:47 +0000 (+0000) Subject: Use $this->getLang() per Nikerabbit on r91648. X-Git-Tag: 1.31.0-rc.0~28712 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=d4f8bd4fd25e1898a40ffa266ee5be30db075b01;p=lhc%2Fweb%2Fwiklou.git Use $this->getLang() per Nikerabbit on r91648. --- diff --git a/includes/Article.php b/includes/Article.php index 5c57736de9..33aac3835a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -609,10 +609,10 @@ class Article extends Page { * page views. */ protected function showCssOrJsPage() { - global $wgOut, $wgLang; + global $wgOut; - $dir = $wgLang->getDir(); - $lang = $wgLang->getCode(); + $dir = $this->getLang()->getDir(); + $lang = $this->getLang()->getCode(); $wgOut->wrapWikiMsg( "
\n$1\n
", 'clearyourcache' );