r47658 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47657‎ | r47658 | r47659 >
Date:13:30, 22 February 2009
Author:raymond
Status:ok
Tags:
Comment:
Another piplist() candidate spotted by Translatewiki :)
Modified paths:
  • /trunk/phase3/includes/specials/SpecialWhatlinkshere.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialWhatlinkshere.php
@@ -389,6 +389,7 @@
390390 }
391391
392392 function getFilterPanel() {
 393+ global $wgLang;
393394 $show = wfMsgHtml( 'show' );
394395 $hide = wfMsgHtml( 'hide' );
395396
@@ -405,6 +406,6 @@
406407 $overrides = array( $type => !$chosen );
407408 $links[] = $this->makeSelfLink( $msg, wfArrayToCGI( $overrides, $changed ) );
408409 }
409 - return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), implode( ' | ', $links ) );
 410+ return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), $wgLang->pipeList( $links ) );
410411 }
411412 }

Status & tagging log