}
protected function listItem( $row, $nt, $notClose = false ) {
- global $wgLang;
-
# local message cache
static $msgcache = null;
if ( $msgcache === null ) {
static $msgs = array( 'isredirect', 'istemplate', 'semicolon-separator',
- 'whatlinkshere-links', 'isimage', 'hist' );
+ 'whatlinkshere-links', 'isimage' );
$msgcache = array();
foreach ( $msgs as $msg ) {
$msgcache[$msg] = wfMsgExt( $msg, array( 'escapenoentities' ) );
}
# Space for utilities links, with a what-links-here link provided
- $tools = array();
- $tools[] = $this->wlhLink( $nt, $msgcache['whatlinkshere-links'] );
- $tools[] = $this->skin->linkKnown( $nt, $msgcache['hist'], array(), array( 'action' => 'history' ) );
- $wlh = Xml::wrapClass( '(' . $wgLang->pipeList( $tools ) . ')', 'mw-whatlinkshere-tools' );
+ $wlhLink = $this->wlhLink( $nt, $msgcache['whatlinkshere-links'] );
+ $wlh = Xml::wrapClass( "($wlhLink)", 'mw-whatlinkshere-tools' );
return $notClose ?
Xml::openElement( 'li' ) . "$link $propsText $wlh\n" :