r96894 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96893‎ | r96894 | r96895 >
Date:20:08, 12 September 2011
Author:robin
Status:ok
Tags:
Comment:
Remove unused variable and update code comment per r96888.
Modified paths:
  • /trunk/phase3/includes/CategoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/CategoryPage.php
@@ -174,10 +174,8 @@
175175 $r = wfMsgExt( 'category-empty', array( 'parse' ) );
176176 }
177177
178 - $pageLang = $this->title->getPageLanguage();
179178 $langAttribs = array( 'lang' => $wgLang->getCode(), 'dir' => $wgLang->getDir() );
180 - # close the previous div, show the headings in user language,
181 - # then open a new div with the page content language again
 179+ # put a div around the headings which are in the user language
182180 $r = Html::openElement( 'div', $langAttribs ) . $r . '</div>';
183181
184182 wfProfileOut( __METHOD__ );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96888MFT r96886: backport to fix bug 30865 on 1.18...brion19:25, 12 September 2011

Status & tagging log