Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -174,10 +174,8 @@ |
175 | 175 | $r = wfMsgExt( 'category-empty', array( 'parse' ) ); |
176 | 176 | } |
177 | 177 | |
178 | | - $pageLang = $this->title->getPageLanguage(); |
179 | 178 | $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 |
182 | 180 | $r = Html::openElement( 'div', $langAttribs ) . $r . '</div>'; |
183 | 181 | |
184 | 182 | wfProfileOut( __METHOD__ ); |