Change-Id: Ia6cff8aa9e0b12215839f8b9c5a64a09150d4002
* @return string
*/
function subPageSubtitle() {
- global $wgLang;
$out = $this->getOutput();
$subpages = '';
$c = 0;
$growinglink = '';
$display = '';
+ $lang = $this->getLanguage();
foreach ( $links as $link ) {
$growinglink .= $link;
$c++;
if ( $c > 1 ) {
- $subpages .= $wgLang->getDirMarkEntity() . $this->msg( 'pipe-separator' )->escaped();
+ $subpages .= $lang->getDirMarkEntity() . $this->msg( 'pipe-separator' )->escaped();
} else {
$subpages .= '< ';
}