dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9a4529
)
Use $this->getLang() per Nikerabbit on r91648.
author
Robin Pepermans
<robin@users.mediawiki.org>
Wed, 20 Jul 2011 22:31:47 +0000
(22:31 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Wed, 20 Jul 2011 22:31:47 +0000
(22:31 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
5c57736
..
33aac38
100644
(file)
--- 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( "<div id='mw-clearyourcache' lang='$lang' dir='$dir' class='mw-content-$dir'>\n$1\n</div>",
'clearyourcache' );