Another piplist() candidate spotted by Translatewiki :)
authorRaimond Spekking <raymond@users.mediawiki.org>
Sun, 22 Feb 2009 13:30:58 +0000 (13:30 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Sun, 22 Feb 2009 13:30:58 +0000 (13:30 +0000)
includes/specials/SpecialWhatlinkshere.php

index 0902489..3f485bd 100644 (file)
@@ -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( '&nbsp;|&nbsp;', $links ) );
+               return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), $wgLang->pipeList( $links ) );
        }
 }