Another piplist() candidate spotted by Translatewiki :)
[lhc/web/wiklou.git] / 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( ' | ', $links ) );
+               return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), $wgLang->pipeList( $links ) );
        }
 }