$r = wfMsgExt( 'category-empty', array( 'parse' ) );
}
- $lang = $this->getLang();
+ $lang = $this->getLanguage();
$langAttribs = array( 'lang' => $lang->getCode(), 'dir' => $lang->getDir() );
# put a div around the headings which are in the user language
$r = Html::openElement( 'div', $langAttribs ) . $r . '</div>';
* @deprecated since 1.17 kept for compatibility, please use addSubcategoryObject instead
*/
function addSubcategory( Title $title, $sortkey, $pageLength ) {
+ wfDeprecated( __METHOD__, '1.17' );
$this->addSubcategoryObject( Category::newFromTitle( $title ), $sortkey, $pageLength );
}