$messages = array( 'revertmerge', 'protect_change', 'unblocklink', 'change-blocklink',
'revertmove', 'undeletelink', 'revdel-restore', 'rev-delundel', 'hist', 'pipe-separator' );
foreach( $messages as $msg ) {
- $this->message[$msg] = wfMsgExt( $msg, array( 'escape' ) );
+ $this->message[$msg] = wfMsgExt( $msg, array( 'escapenoentities' ) );
}
}
}
}
private function getFilterLinks( $logType, $filter ) {
- global $wgTitle, $wgLang;
+ global $wgTitle;
// show/hide links
$messages = array( wfMsgHtml( 'show' ), wfMsgHtml( 'hide' ) );
// Option value -> message mapping
$links[$type] = wfMsgHtml( "log-show-hide-{$type}", $link );
}
// Build links
- return $wgLang->pipeList( $links );
+ return implode( ' | ', $links );
}
private function getDefaultQuery() {