From: Raimond Spekking Date: Sun, 22 Feb 2009 13:30:58 +0000 (+0000) Subject: Another piplist() candidate spotted by Translatewiki :) X-Git-Tag: 1.31.0-rc.0~42727 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=840a6faef32d82eedebedea4c08aef5526866eff;p=lhc%2Fweb%2Fwiklou.git Another piplist() candidate spotted by Translatewiki :) --- diff --git a/includes/specials/SpecialWhatlinkshere.php b/includes/specials/SpecialWhatlinkshere.php index 0902489470..3f485bd8ac 100644 --- a/includes/specials/SpecialWhatlinkshere.php +++ b/includes/specials/SpecialWhatlinkshere.php @@ -389,6 +389,7 @@ class WhatLinksHerePage { } function getFilterPanel() { + global $wgLang; $show = wfMsgHtml( 'show' ); $hide = wfMsgHtml( 'hide' ); @@ -405,6 +406,6 @@ class WhatLinksHerePage { $overrides = array( $type => !$chosen ); $links[] = $this->makeSelfLink( $msg, wfArrayToCGI( $overrides, $changed ) ); } - return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), implode( ' | ', $links ) ); + return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), $wgLang->pipeList( $links ) ); } }