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:
23d5a27
)
Remove unused variable and update code comment per r96888.
author
Robin Pepermans
<robin@users.mediawiki.org>
Mon, 12 Sep 2011 20:08:23 +0000
(20:08 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Mon, 12 Sep 2011 20:08:23 +0000
(20:08 +0000)
includes/CategoryPage.php
patch
|
blob
|
history
diff --git
a/includes/CategoryPage.php
b/includes/CategoryPage.php
index
c833886
..
8e7ee64
100644
(file)
--- a/
includes/CategoryPage.php
+++ b/
includes/CategoryPage.php
@@
-174,10
+174,8
@@
class CategoryViewer {
$r = wfMsgExt( 'category-empty', array( 'parse' ) );
}
- $pageLang = $this->title->getPageLanguage();
$langAttribs = array( 'lang' => $wgLang->getCode(), 'dir' => $wgLang->getDir() );
- # close the previous div, show the headings in user language,
- # then open a new div with the page content language again
+ # put a div around the headings which are in the user language
$r = Html::openElement( 'div', $langAttribs ) . $r . '</div>';
wfProfileOut( __METHOD__ );