From 7a46a6ff003404e493f5c9805e96e1ef0037b424 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 21 Jul 2011 20:23:30 +0000 Subject: [PATCH] Fix for r92702: there's no such method in Article class --- includes/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ); -- 2.20.1