dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8e7a5a0
)
Merge "Use getHtmlCode() instead of getCode() to set the lang attribute"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 23 Dec 2014 11:49:25 +0000
(11:49 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 23 Dec 2014 11:49:25 +0000
(11:49 +0000)
includes/page/Article.php
patch
|
blob
|
history
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
a4996df
..
be138f1
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-835,7
+835,7
@@
class Article implements Page {
if ( $showCacheHint ) {
$dir = $this->getContext()->getLanguage()->getDir();
- $lang = $this->getContext()->getLanguage()->getCode();
+ $lang = $this->getContext()->getLanguage()->get
Html
Code();
$outputPage->wrapWikiMsg(
"<div id='mw-clearyourcache' lang='$lang' dir='$dir' class='mw-content-$dir'>\n$1\n</div>",