From 840a6faef32d82eedebedea4c08aef5526866eff Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Sun, 22 Feb 2009 13:30:58 +0000 Subject: [PATCH] Another piplist() candidate spotted by Translatewiki :) --- includes/specials/SpecialWhatlinkshere.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) ); } } -- 2.20.1