Revert r40953 '(bug 7509) Don't hardcode separation strings, make them configurable'
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 18 Sep 2008 17:11:51 +0000 (17:11 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 18 Sep 2008 17:11:51 +0000 (17:11 +0000)
This seems to make code much uglier and harder to maintain -- there are a bajillion new calls to "wfMsgExt( 'pipe-separator' , 'escapenoentities' )" which is not trivial or easy to remember. This makes code uglier, harder to read, harder to maintain, and more prone to error.

22 files changed:
includes/GlobalFunctions.php
includes/Linker.php
includes/PageHistory.php
includes/Pager.php
includes/Skin.php
includes/WatchlistEditor.php
includes/specials/SpecialAllmessages.php
includes/specials/SpecialAllpages.php
includes/specials/SpecialBlockip.php
includes/specials/SpecialContributions.php
includes/specials/SpecialNewpages.php
includes/specials/SpecialPreferences.php
includes/specials/SpecialPrefixindex.php
includes/specials/SpecialRecentchanges.php
includes/specials/SpecialUserlogin.php
includes/specials/SpecialWatchlist.php
includes/specials/SpecialWhatlinkshere.php
languages/messages/MessagesEn.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc
skins/CologneBlue.php
skins/Standard.php

index c43a133..44d3512 100644 (file)
@@ -926,12 +926,10 @@ function wfViewPrevNext( $offset, $limit, $link, $query = '', $atend = false ) {
        } else {
                $nlink = '<a href="' . $title->escapeLocalUrl( $q ) . "\" class=\"mw-nextlink\">{$next}</a>";
        }
-
-       $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
-       $nums = wfNumLink( $offset, 20, $title, $query ) . $separator .
-         wfNumLink( $offset, 50, $title, $query ) . $separator .
-         wfNumLink( $offset, 100, $title, $query ) . $separator .
-         wfNumLink( $offset, 250, $title, $query ) . $separator .
+       $nums = wfNumLink( $offset, 20, $title, $query ) . ' | ' .
+         wfNumLink( $offset, 50, $title, $query ) . ' | ' .
+         wfNumLink( $offset, 100, $title, $query ) . ' | ' .
+         wfNumLink( $offset, 250, $title, $query ) . ' | ' .
          wfNumLink( $offset, 500, $title, $query );
 
        return wfMsg( 'viewprevnext', $plink, $nlink, $nums );
index cd34d33..54f5633 100644 (file)
@@ -1062,7 +1062,7 @@ class Linker {
                }
 
                if( $items ) {
-                       return ' (' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $items ) . ')';
+                       return ' (' . implode( ' | ', $items ) . ')';
                } else {
                        return '';
                }
index 79e5464..4ba67a2 100644 (file)
@@ -379,7 +379,7 @@ class PageHistory {
                }
 
                if( $tools ) {
-                       $s .= ' (' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools ) . ')';
+                       $s .= ' (' . implode( ' | ', $tools ) . ')';
                }
 
                wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) );
index 2510825..3125610 100644 (file)
@@ -513,8 +513,7 @@ abstract class AlphabeticPager extends IndexPager {
 
                $pagingLinks = $this->getPagingLinks( $linkTexts );
                $limitLinks = $this->getLimitLinks();
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
-               $limits = implode( $separator, $limitLinks );
+               $limits = implode( ' | ', $limitLinks );
 
                $this->mNavigationBar =
                        "({$pagingLinks['first']} | {$pagingLinks['last']}) " .
@@ -533,7 +532,7 @@ abstract class AlphabeticPager extends IndexPager {
                        if( $first ) {
                                $first = false;
                        } else {
-                               $extra .= $separator;
+                               $extra .= ' | ';
                        }
 
                        if( $order == $this->mOrderType ) {
@@ -592,12 +591,11 @@ abstract class ReverseChronologicalPager extends IndexPager {
                        'last' => wfMsgHtml( 'histfirst' )
                );
 
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
                $pagingLinks = $this->getPagingLinks( $linkTexts );
                $limitLinks = $this->getLimitLinks();
-               $limits = implode( $separator, $limitLinks );
+               $limits = implode( ' | ', $limitLinks );
 
-               $this->mNavigationBar = "({$pagingLinks['first']}" . $separator . "{$pagingLinks['last']}) " .
+               $this->mNavigationBar = "({$pagingLinks['first']} | {$pagingLinks['last']}) " .
                        wfMsgHtml("viewprevnext", $pagingLinks['prev'], $pagingLinks['next'], $limits);
                return $this->mNavigationBar;
        }
index f725489..f6ba839 100644 (file)
@@ -913,15 +913,14 @@ END;
                $diff = $wgRequest->getVal( 'diff' );
                $action = $wgRequest->getText( 'action' );
 
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
                $s = $this->printableLink();
                $disclaimer = $this->disclaimerLink(); # may be empty
                if( $disclaimer ) {
-                       $s .= $separator . $disclaimer;
+                       $s .= ' | ' . $disclaimer;
                }
                $privacy = $this->privacyLink(); # may be empty too
                if( $privacy ) {
-                       $s .= $separator . $privacy;
+                       $s .= ' | ' . $privacy;
                }
 
                if ( $wgOut->isArticleRelated() ) {
@@ -931,12 +930,12 @@ END;
                                if( $image ) {
                                        $link = htmlspecialchars( $image->getURL() );
                                        $style = $this->getInternalLinkAttributes( $link, $name );
-                                       $s .= $separator . "<a href=\"{$link}\"{$style}>{$name}</a>";
+                                       $s .= " | <a href=\"{$link}\"{$style}>{$name}</a>";
                                }
                        }
                }
                if ( 'history' == $action || isset( $diff ) || isset( $oldid ) ) {
-                       $s .= $separator . $this->makeKnownLinkObj( $wgTitle,
+                       $s .= ' | ' . $this->makeKnownLinkObj( $wgTitle,
                                        wfMsg( 'currentrev' ) );
                }
 
@@ -946,7 +945,7 @@ END;
                        if( !$wgTitle->equals( $wgUser->getTalkPage() ) ) {
                                $tl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessageslink' ), 'redirect=no' );
                                $dl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessagesdifflink' ), 'diff=cur' );
-                               $s.= $separator . '<strong>'. wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>';
+                               $s.= ' | <strong>'. wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>';
                                # disable caching
                                $wgOut->setSquidMaxage(0);
                                $wgOut->enableClientCache(false);
@@ -955,7 +954,7 @@ END;
 
                $undelete = $this->getUndeleteLink();
                if( !empty( $undelete ) ) {
-                       $s .= $separator . $undelete;
+                       $s .= ' | '.$undelete;
                }
                return $s;
        }
@@ -988,7 +987,7 @@ END;
                if( $wgOut->isSyndicated() ) {
                        foreach( $wgFeedClasses as $format => $class ) {
                                $feedurl = $wgRequest->escapeAppendQuery( "feed=$format" );
-                               $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . "<a href=\"$feedurl\">{$format}</a>";
+                               $s .= " | <a href=\"$feedurl\">{$format}</a>";
                        }
                }
                return $s;
@@ -1036,7 +1035,7 @@ END;
                                                $getlink = $this->makeKnownLinkObj( $linkObj, htmlspecialchars( $display ) );
                                                $c++;
                                                if ($c>1) {
-                                                       $subpages .= wfMsgExt( 'pipe-separator' , 'escapenoentities' );
+                                                       $subpages .= ' | ';
                                                } else  {
                                                        $subpages .= '&lt; ';
                                                }
@@ -1103,9 +1102,9 @@ END;
                                SpecialPage::getTitleFor( 'Userlogout' ), wfMsg( 'logout' ),
                                array(), array( 'returnto' => $returnTo )
                        );
-                       $ret .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . $this->specialLink( 'preferences' );
+                       $ret .= ' | ' . $this->specialLink( 'preferences' );
                }
-               $ret .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . $this->link(
+               $ret .= ' | ' . $this->link(
                        Title::newFromText( wfMsgForContent( 'helppage' ) ),
                        wfMsg( 'help' )
                );
@@ -1171,7 +1170,7 @@ END;
                $s = '';
                wfRunHooks( 'SkinTemplateTabs', array( $this, &$tabs ) );
                foreach( $tabs as $tab ) {
-                       $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . Xml::element( 'a',
+                       $s .= ' | ' . Xml::element( 'a',
                                array( 'href' => $tab['href'] ),
                                $tab['text'] );
                }
@@ -1192,7 +1191,7 @@ END;
                                $varname = $wgContLang->getVariantname( $code );
                                if( $varname == 'disable' )
                                        continue;
-                               $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . '<a href="' . $wgTitle->escapeLocalUrl( 'variant=' . $code ) . '">' . htmlspecialchars( $varname ) . '</a>';
+                               $s .= ' | <a href="' . $wgTitle->escapeLocalUrl( 'variant=' . $code ) . '">' . htmlspecialchars( $varname ) . '</a>';
                        }
                }
                return $s;
@@ -1623,7 +1622,7 @@ END;
                $first = true;
                if($wgContLang->isRTL()) $s .= '<span dir="LTR">';
                foreach( $a as $l ) {
-                       if ( ! $first ) { $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ); }
+                       if ( ! $first ) { $s .= ' | '; }
                        $first = false;
 
                        $nt = Title::newFromText( $l );
index faaa8b9..fcfdb78 100644 (file)
@@ -391,7 +391,7 @@ class WatchlistEditor {
                }
                return '<li>'
                        . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) )
-                       . $link . ' (' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools ) . ')' . '</li>';
+                       . $link . ' (' . implode( ' | ', $tools ) . ')' . '</li>';
                }
 
        /**
@@ -457,6 +457,6 @@ class WatchlistEditor {
                foreach( $modes as $mode => $subpage ) {
                        $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Watchlist', $subpage ), wfMsgHtml( "watchlisttools-{$mode}" ) );
                }
-               return implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools );
+               return implode( ' | ', $tools );
        }
 }
index c4bc313..c2a8de4 100644 (file)
@@ -45,8 +45,7 @@ function wfSpecialAllmessages() {
        $wgOut->addScriptFile( 'allmessages.js' );
        if ( $ot == 'php' ) {
                $navText .= wfAllMessagesMakePhp( $messages );
-               $wgOut->addHTML( 'PHP | <a href="' . $wgTitle->escapeLocalUrl( 'ot=html' ) . '">HTML</a>' .
-                       wfMsgExt( 'pipe-separator' , 'escapenoentities' ) .
+               $wgOut->addHTML( 'PHP | <a href="' . $wgTitle->escapeLocalUrl( 'ot=html' ) . '">HTML</a> | ' .
                        '<a href="' . $wgTitle->escapeLocalUrl( 'ot=xml' ) . '">XML</a>' .
                        '<pre>' . htmlspecialchars( $navText ) . '</pre>' );
        } else if ( $ot == 'xml' ) {
@@ -54,9 +53,8 @@ function wfSpecialAllmessages() {
                header( 'Content-type: text/xml' );
                echo wfAllMessagesMakeXml( $messages );
        } else {
-               $wgOut->addHTML( '<a href="' . $wgTitle->escapeLocalUrl( 'ot=php' ) . '">PHP</a>' .
-                       wfMsgExt( 'pipe-separator' , 'escapenoentities' ) .
-                       'HTML' . wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . '<a href="' . $wgTitle->escapeLocalUrl( 'ot=xml' ) . '">XML</a>' );
+               $wgOut->addHTML( '<a href="' . $wgTitle->escapeLocalUrl( 'ot=php' ) . '">PHP</a> | ' .
+                       'HTML |  <a href="' . $wgTitle->escapeLocalUrl( 'ot=xml' ) . '">XML</a>' );
                $wgOut->addWikiText( $navText );
                $wgOut->addHTML( wfAllMessagesMakeHTMLText( $messages ) );
        }
index afe6738..f27c120 100644 (file)
@@ -328,8 +328,6 @@ class SpecialAllpages extends IncludableSpecialPage {
                        }
                }
 
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
-
                if ( $this->including() ) {
                        $out2 = '';
                } else {
@@ -384,7 +382,7 @@ class SpecialAllpages extends IncludableSpecialPage {
                                        . ( $namespace ? '&namespace=' . $namespace : '' );
                                $prevLink = $sk->makeKnownLinkObj( $self,
                                        wfMsgHTML( 'prevpage', htmlspecialchars( $pt ) ), $q );
-                               $out2 .= $separator . $prevLink;
+                               $out2 .= ' | ' . $prevLink;
                        }
 
                        if( $n == $this->maxPerPage && $s = $res->fetchObject() ) {
@@ -394,7 +392,7 @@ class SpecialAllpages extends IncludableSpecialPage {
                                        . ( $namespace ? '&namespace=' . $namespace : '' );
                                $nextLink = $sk->makeKnownLinkObj( $self,
                                        wfMsgHtml( 'nextpage', htmlspecialchars( $t->getText() ) ), $q );
-                               $out2 .= $separator . $nextLink;
+                               $out2 .= ' | ' . $nextLink;
                        }
                        $out2 .= "</td></tr></table><hr />";
                }
@@ -406,7 +404,7 @@ class SpecialAllpages extends IncludableSpecialPage {
                                $wgOut->addHTML( $prevLink );
                        }
                        if( isset( $prevLink ) && isset( $nextLink ) ) {
-                               $wgOut->addHTML( $separator );
+                               $wgOut->addHTML( ' | ' );
                        }
                        if( isset( $nextLink ) ) {
                                $wgOut->addHTML( $nextLink );
index e6931cb..2157f23 100644 (file)
@@ -463,7 +463,7 @@ class IPBlockForm {
                $links[] = $skin->makeLink ( 'MediaWiki:Ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) );
                $links[] = $this->getUnblockLink( $skin );
                $links[] = $this->getBlockListLink( $skin );
-               return '<p class="mw-ipb-conveniencelinks">' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ) . '</p>';
+               return '<p class="mw-ipb-conveniencelinks">' . implode( ' | ', $links ) . '</p>';
        }
 
        /**
index f1ce6fd..694690d 100644 (file)
@@ -338,7 +338,7 @@ function contributionsSub( $nt, $id ) {
 
                wfRunHooks( 'ContributionsToolLinks', array( $id, $nt, &$tools ) );
 
-               $links = implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools );
+               $links = implode( ' | ', $tools );
        }
 
        // Old message 'contribsub' had one parameter, but that doesn't work for
index e65ca96..8612246 100644 (file)
@@ -148,7 +148,7 @@ class SpecialNewpages extends SpecialPage {
                        $links[$key] = wfMsgHtml( $msg, $link );
                }
 
-               return implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links );
+               return implode( ' | ', $links );
        }
 
        protected function form() {
index 3523113..03f94ab 100644 (file)
@@ -634,7 +634,7 @@ class PreferencesForm {
                        $this->tableRow(
                                wfMsgExt( 'prefs-memberingroups', array( 'parseinline' ), count( $userEffectiveGroupsArray ) ),
                                implode( wfMsg( 'comma-separator' ), $userEffectiveGroupsArray ) .
-                               '<br />(' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $toolLinks ) . ')'
+                               '<br />(' . implode( ' | ', $toolLinks ) . ')'
                        ) .
 
                        $this->tableRow(
index c2168c5..a360d50 100644 (file)
@@ -175,7 +175,7 @@ class SpecialPrefixindex extends SpecialAllpages {
                                                wfMsg ( 'allpages' ) );
                        if( isset( $res ) && $res && ( $n == $this->maxPerPage ) && ( $s = $res->fetchObject() ) ) {
                                $namespaceparam = $namespace ? "&namespace=$namespace" : "";
-                               $out2 .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . $sk->makeKnownLinkObj(
+                               $out2 .= " | " . $sk->makeKnownLinkObj(
                                        $self,
                                        wfMsgHtml( 'nextpage', htmlspecialchars( $s->page_title ) ),
                                        "from=" . wfUrlEncode( $s->page_title ) .
index 7eaed26..0fe1345 100644 (file)
@@ -618,16 +618,14 @@ class SpecialRecentChanges extends SpecialPage {
                        $cl[] = $this->makeOptionsLink( $wgLang->formatNum( $value ),
                                array( 'limit' => $value ), $nondefaults, $value == $options['limit'] ) ;
                }
-
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
-               $cl = implode( $separator, $cl );
+               $cl = implode( ' | ', $cl );
 
                // day links, reset 'from' to none
                foreach( $wgRCLinkDays as $value ) {
                        $dl[] = $this->makeOptionsLink( $wgLang->formatNum( $value ),
                                array( 'days' => $value, 'from' => '' ), $nondefaults, $value == $options['days'] ) ;
                }
-               $dl = implode( $separator, $dl );
+               $dl = implode( ' | ', $dl );
 
 
                // show/hide links
@@ -652,7 +650,7 @@ class SpecialRecentChanges extends SpecialPage {
                if( $wgUser->useRCPatrol() )
                        $links[] = wfMsgHtml( 'rcshowhidepatr', $patrLink );
                $links[] = wfMsgHtml( 'rcshowhidemine', $myselfLink );
-               $hl = implode( $separator, $links );
+               $hl = implode( ' | ', $links );
 
                // show from this onward link
                $now = $wgLang->timeanddate( wfTimestampNow(), true );
index 97e7fd4..b6908c9 100644 (file)
@@ -970,7 +970,7 @@ class LoginForm {
                                        $links[] = $this->makeLanguageSelectorLink( $parts[0], $parts[1] );
                                }
                        }
-                       return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ) ) : '';
+                       return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', implode( ' | ', $links ) ) : '';
                } else {
                        return '';
                }
index f12ab97..ccdc722 100644 (file)
@@ -271,7 +271,7 @@ function wfSpecialWatchlist( $par ) {
        # Namespace filter and put the whole form together.
        $form .= $wlInfo;
        $form .= $cutofflinks;
-       $form .= implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links );
+       $form .= implode( ' | ', $links );
        $form .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $thisTitle->getLocalUrl() ) );
        $form .= '<p>';
        $form .= Xml::label( wfMsg( 'namespace' ), 'namespace' ) . '&nbsp;';
@@ -382,11 +382,10 @@ function wlCutoffLinks( $days, $page = 'Watchlist', $options = array() ) {
        foreach( $days as $d ) {
                $days[$i++] = wlDaysLink( $d, $page, $options );
        }
-       $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
        return wfMsgExt('wlshowlast',
                array('parseinline', 'replaceafter'),
-               implode( $separator, $hours ),
-               implode( $separator, $days ),
+               implode(' | ', $hours),
+               implode(' | ', $days),
                wlDaysLink( 0, $page, $options ) );
 }
 
index d3fa691..ade28f1 100644 (file)
@@ -340,7 +340,7 @@ class WhatLinksHerePage {
                        $limitLinks[] = $this->makeSelfLink( $prettyLimit, wfArrayToCGI( $overrides, $changed ) );
                }
 
-               $nums = implode ( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $limitLinks );
+               $nums = implode ( ' | ', $limitLinks );
 
                return wfMsgHtml( 'viewprevnext', $prev, $next, $nums );
        }
@@ -403,6 +403,6 @@ class WhatLinksHerePage {
                        $overrides = array( $type => !$chosen );
                        $links[] = $this->makeSelfLink( $msg, wfArrayToCGI( $overrides, $changed ) );
                }
-               return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ) );
+               return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), implode( '&nbsp;|&nbsp;', $links ) );
        }
 }
index 97c3976..27d80ff 100644 (file)
@@ -3416,7 +3416,6 @@ $1',
 'comma-separator'     => ',&#32;', # only translate this message to other languages if you have to change it
 'colon-separator'     => ':&#32;', # only translate this message to other languages if you have to change it
 'autocomment-prefix'  => '-&#32;', # only translate this message to other languages if you have to change it
-'pipe-separator'      => '&#32;|&#32;', # only translate this message to other languages if you have to change it
 
 # Multipage image navigation
 'imgmultipageprev' => '← previous page',
index ed67aab..98d3d8f 100644 (file)
@@ -314,7 +314,6 @@ $wgOptionalMessages = array(
        'comma-separator',
        'colon-separator',
        'autocomment-prefix',
-       'pipe-separator',
        'listgrouprights-right-display',
        'timezone-utc',
        'whatlinkshere-backlink',
index 2c28b44..3ba87df 100644 (file)
@@ -2549,7 +2549,6 @@ $wgMessageStructure = array(
                'comma-separator',
                'colon-separator',
                'autocomment-prefix',
-               'pipe-separator',
        ),
        'imgmulti' => array(
                'imgmultipageprev',
index d2a681c..7973962 100644 (file)
@@ -79,10 +79,9 @@ class SkinCologneBlue extends Skin {
                }
                $s .= "<td class='bottom' align='center' valign='top'>";
 
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
                $s .= $this->bottomLinks();
-               $s .= "\n<br />" . $this->makeKnownLinkObj( Title::newMainPage() ) . $separator
-                 . $this->aboutLink() . $separator
+               $s .= "\n<br />" . $this->makeKnownLinkObj( Title::newMainPage() ) . " | "
+                 . $this->aboutLink() . " | "
                  . $this->searchForm( wfMsg( "qbfind" ) );
 
                $s .= "\n<br />" . $this->pageStats();
@@ -133,19 +132,22 @@ class SkinCologneBlue extends Skin {
                        $q = "returnto={$rt}";
                }
 
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
                $s = "" .
-                 $this->mainPageLink(). $separator .
-                 $this->makeKnownLink( wfMsgForContent( "aboutpage" ), wfMsg( "about" ) ) . $separator .
-                 $this->makeKnownLink( wfMsgForContent( "helppage" ), wfMsg( "help" ) ) . $separator .
-                 $this->makeKnownLink( wfMsgForContent( "faqpage" ), wfMsg("faq") ) . $separator .
+                 $this->mainPageLink()
+                 . " | " .
+                 $this->makeKnownLink( wfMsgForContent( "aboutpage" ), wfMsg( "about" ) )
+                 . " | " .
+                 $this->makeKnownLink( wfMsgForContent( "helppage" ), wfMsg( "help" ) )
+                 . " | " .
+                 $this->makeKnownLink( wfMsgForContent( "faqpage" ), wfMsg("faq") )
+                 . " | " .
                  $this->specialLink( "specialpages" );
 
                /* show links to different language variants */
                $s .= $this->variantLinks();
                $s .= $this->extensionTabLinks();
                
-               $s .= $separator;
+               $s .= " | ";
                if ( $wgUser->isLoggedIn() ) {
                        $s .=  $this->makeKnownLink( $lo, wfMsg( "logout" ), $q );
                } else {
index f870390..9b65de7 100644 (file)
@@ -107,13 +107,11 @@ class SkinStandard extends Skin {
                $l = $wgContLang->isRTL() ? 'right' : 'left';
                $s .= "<td class='bottom' align='$l' valign='top'>";
 
-               $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
-
                $s .= $this->bottomLinks();
                $s .= "\n<br />" . $this->mainPageLink()
-                 . $separator . $this->aboutLink()
-                 . $separator . $this->specialLink( 'recentchanges' )
-                 . $separator . $this->searchForm()
+                 . ' | ' . $this->aboutLink()
+                 . ' | ' . $this->specialLink( 'recentchanges' )
+                 . ' | ' . $this->searchForm()
                  . '<br /><span id="pagestats">' . $this->pageStats() . '</span>';
 
                $s .= "</td>";