Index: trunk/phase3/skins/CologneBlue.php |
— | — | @@ -79,10 +79,9 @@ |
80 | 80 | } |
81 | 81 | $s .= "<td class='bottom' align='center' valign='top'>"; |
82 | 82 | |
83 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
84 | 83 | $s .= $this->bottomLinks(); |
85 | | - $s .= "\n<br />" . $this->makeKnownLinkObj( Title::newMainPage() ) . $separator |
86 | | - . $this->aboutLink() . $separator |
| 84 | + $s .= "\n<br />" . $this->makeKnownLinkObj( Title::newMainPage() ) . " | " |
| 85 | + . $this->aboutLink() . " | " |
87 | 86 | . $this->searchForm( wfMsg( "qbfind" ) ); |
88 | 87 | |
89 | 88 | $s .= "\n<br />" . $this->pageStats(); |
— | — | @@ -133,19 +132,22 @@ |
134 | 133 | $q = "returnto={$rt}"; |
135 | 134 | } |
136 | 135 | |
137 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
138 | 136 | $s = "" . |
139 | | - $this->mainPageLink(). $separator . |
140 | | - $this->makeKnownLink( wfMsgForContent( "aboutpage" ), wfMsg( "about" ) ) . $separator . |
141 | | - $this->makeKnownLink( wfMsgForContent( "helppage" ), wfMsg( "help" ) ) . $separator . |
142 | | - $this->makeKnownLink( wfMsgForContent( "faqpage" ), wfMsg("faq") ) . $separator . |
| 137 | + $this->mainPageLink() |
| 138 | + . " | " . |
| 139 | + $this->makeKnownLink( wfMsgForContent( "aboutpage" ), wfMsg( "about" ) ) |
| 140 | + . " | " . |
| 141 | + $this->makeKnownLink( wfMsgForContent( "helppage" ), wfMsg( "help" ) ) |
| 142 | + . " | " . |
| 143 | + $this->makeKnownLink( wfMsgForContent( "faqpage" ), wfMsg("faq") ) |
| 144 | + . " | " . |
143 | 145 | $this->specialLink( "specialpages" ); |
144 | 146 | |
145 | 147 | /* show links to different language variants */ |
146 | 148 | $s .= $this->variantLinks(); |
147 | 149 | $s .= $this->extensionTabLinks(); |
148 | 150 | |
149 | | - $s .= $separator; |
| 151 | + $s .= " | "; |
150 | 152 | if ( $wgUser->isLoggedIn() ) { |
151 | 153 | $s .= $this->makeKnownLink( $lo, wfMsg( "logout" ), $q ); |
152 | 154 | } else { |
Index: trunk/phase3/skins/Standard.php |
— | — | @@ -107,13 +107,11 @@ |
108 | 108 | $l = $wgContLang->isRTL() ? 'right' : 'left'; |
109 | 109 | $s .= "<td class='bottom' align='$l' valign='top'>"; |
110 | 110 | |
111 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
112 | | - |
113 | 111 | $s .= $this->bottomLinks(); |
114 | 112 | $s .= "\n<br />" . $this->mainPageLink() |
115 | | - . $separator . $this->aboutLink() |
116 | | - . $separator . $this->specialLink( 'recentchanges' ) |
117 | | - . $separator . $this->searchForm() |
| 113 | + . ' | ' . $this->aboutLink() |
| 114 | + . ' | ' . $this->specialLink( 'recentchanges' ) |
| 115 | + . ' | ' . $this->searchForm() |
118 | 116 | . '<br /><span id="pagestats">' . $this->pageStats() . '</span>'; |
119 | 117 | |
120 | 118 | $s .= "</td>"; |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -3416,7 +3416,6 @@ |
3417 | 3417 | 'comma-separator' => ', ', # only translate this message to other languages if you have to change it |
3418 | 3418 | 'colon-separator' => ': ', # only translate this message to other languages if you have to change it |
3419 | 3419 | 'autocomment-prefix' => '- ', # only translate this message to other languages if you have to change it |
3420 | | -'pipe-separator' => ' | ', # only translate this message to other languages if you have to change it |
3421 | 3420 | |
3422 | 3421 | # Multipage image navigation |
3423 | 3422 | 'imgmultipageprev' => '← previous page', |
Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -379,7 +379,7 @@ |
380 | 380 | } |
381 | 381 | |
382 | 382 | if( $tools ) { |
383 | | - $s .= ' (' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools ) . ')'; |
| 383 | + $s .= ' (' . implode( ' | ', $tools ) . ')'; |
384 | 384 | } |
385 | 385 | |
386 | 386 | wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) ); |
Index: trunk/phase3/includes/WatchlistEditor.php |
— | — | @@ -391,7 +391,7 @@ |
392 | 392 | } |
393 | 393 | return '<li>' |
394 | 394 | . Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) ) |
395 | | - . $link . ' (' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools ) . ')' . '</li>'; |
| 395 | + . $link . ' (' . implode( ' | ', $tools ) . ')' . '</li>'; |
396 | 396 | } |
397 | 397 | |
398 | 398 | /** |
— | — | @@ -457,6 +457,6 @@ |
458 | 458 | foreach( $modes as $mode => $subpage ) { |
459 | 459 | $tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Watchlist', $subpage ), wfMsgHtml( "watchlisttools-{$mode}" ) ); |
460 | 460 | } |
461 | | - return implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools ); |
| 461 | + return implode( ' | ', $tools ); |
462 | 462 | } |
463 | 463 | } |
Index: trunk/phase3/includes/specials/SpecialPreferences.php |
— | — | @@ -634,7 +634,7 @@ |
635 | 635 | $this->tableRow( |
636 | 636 | wfMsgExt( 'prefs-memberingroups', array( 'parseinline' ), count( $userEffectiveGroupsArray ) ), |
637 | 637 | implode( wfMsg( 'comma-separator' ), $userEffectiveGroupsArray ) . |
638 | | - '<br />(' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $toolLinks ) . ')' |
| 638 | + '<br />(' . implode( ' | ', $toolLinks ) . ')' |
639 | 639 | ) . |
640 | 640 | |
641 | 641 | $this->tableRow( |
Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -970,7 +970,7 @@ |
971 | 971 | $links[] = $this->makeLanguageSelectorLink( $parts[0], $parts[1] ); |
972 | 972 | } |
973 | 973 | } |
974 | | - return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ) ) : ''; |
| 974 | + return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', implode( ' | ', $links ) ) : ''; |
975 | 975 | } else { |
976 | 976 | return ''; |
977 | 977 | } |
Index: trunk/phase3/includes/specials/SpecialWhatlinkshere.php |
— | — | @@ -340,7 +340,7 @@ |
341 | 341 | $limitLinks[] = $this->makeSelfLink( $prettyLimit, wfArrayToCGI( $overrides, $changed ) ); |
342 | 342 | } |
343 | 343 | |
344 | | - $nums = implode ( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $limitLinks ); |
| 344 | + $nums = implode ( ' | ', $limitLinks ); |
345 | 345 | |
346 | 346 | return wfMsgHtml( 'viewprevnext', $prev, $next, $nums ); |
347 | 347 | } |
— | — | @@ -403,6 +403,6 @@ |
404 | 404 | $overrides = array( $type => !$chosen ); |
405 | 405 | $links[] = $this->makeSelfLink( $msg, wfArrayToCGI( $overrides, $changed ) ); |
406 | 406 | } |
407 | | - return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ) ); |
| 407 | + return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), implode( ' | ', $links ) ); |
408 | 408 | } |
409 | 409 | } |
Index: trunk/phase3/includes/specials/SpecialRecentchanges.php |
— | — | @@ -618,16 +618,14 @@ |
619 | 619 | $cl[] = $this->makeOptionsLink( $wgLang->formatNum( $value ), |
620 | 620 | array( 'limit' => $value ), $nondefaults, $value == $options['limit'] ) ; |
621 | 621 | } |
| 622 | + $cl = implode( ' | ', $cl ); |
622 | 623 | |
623 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
624 | | - $cl = implode( $separator, $cl ); |
625 | | - |
626 | 624 | // day links, reset 'from' to none |
627 | 625 | foreach( $wgRCLinkDays as $value ) { |
628 | 626 | $dl[] = $this->makeOptionsLink( $wgLang->formatNum( $value ), |
629 | 627 | array( 'days' => $value, 'from' => '' ), $nondefaults, $value == $options['days'] ) ; |
630 | 628 | } |
631 | | - $dl = implode( $separator, $dl ); |
| 629 | + $dl = implode( ' | ', $dl ); |
632 | 630 | |
633 | 631 | |
634 | 632 | // show/hide links |
— | — | @@ -652,7 +650,7 @@ |
653 | 651 | if( $wgUser->useRCPatrol() ) |
654 | 652 | $links[] = wfMsgHtml( 'rcshowhidepatr', $patrLink ); |
655 | 653 | $links[] = wfMsgHtml( 'rcshowhidemine', $myselfLink ); |
656 | | - $hl = implode( $separator, $links ); |
| 654 | + $hl = implode( ' | ', $links ); |
657 | 655 | |
658 | 656 | // show from this onward link |
659 | 657 | $now = $wgLang->timeanddate( wfTimestampNow(), true ); |
Index: trunk/phase3/includes/specials/SpecialPrefixindex.php |
— | — | @@ -175,7 +175,7 @@ |
176 | 176 | wfMsg ( 'allpages' ) ); |
177 | 177 | if( isset( $res ) && $res && ( $n == $this->maxPerPage ) && ( $s = $res->fetchObject() ) ) { |
178 | 178 | $namespaceparam = $namespace ? "&namespace=$namespace" : ""; |
179 | | - $out2 .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . $sk->makeKnownLinkObj( |
| 179 | + $out2 .= " | " . $sk->makeKnownLinkObj( |
180 | 180 | $self, |
181 | 181 | wfMsgHtml( 'nextpage', htmlspecialchars( $s->page_title ) ), |
182 | 182 | "from=" . wfUrlEncode( $s->page_title ) . |
Index: trunk/phase3/includes/specials/SpecialAllpages.php |
— | — | @@ -328,8 +328,6 @@ |
329 | 329 | } |
330 | 330 | } |
331 | 331 | |
332 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
333 | | - |
334 | 332 | if ( $this->including() ) { |
335 | 333 | $out2 = ''; |
336 | 334 | } else { |
— | — | @@ -384,7 +382,7 @@ |
385 | 383 | . ( $namespace ? '&namespace=' . $namespace : '' ); |
386 | 384 | $prevLink = $sk->makeKnownLinkObj( $self, |
387 | 385 | wfMsgHTML( 'prevpage', htmlspecialchars( $pt ) ), $q ); |
388 | | - $out2 .= $separator . $prevLink; |
| 386 | + $out2 .= ' | ' . $prevLink; |
389 | 387 | } |
390 | 388 | |
391 | 389 | if( $n == $this->maxPerPage && $s = $res->fetchObject() ) { |
— | — | @@ -394,7 +392,7 @@ |
395 | 393 | . ( $namespace ? '&namespace=' . $namespace : '' ); |
396 | 394 | $nextLink = $sk->makeKnownLinkObj( $self, |
397 | 395 | wfMsgHtml( 'nextpage', htmlspecialchars( $t->getText() ) ), $q ); |
398 | | - $out2 .= $separator . $nextLink; |
| 396 | + $out2 .= ' | ' . $nextLink; |
399 | 397 | } |
400 | 398 | $out2 .= "</td></tr></table><hr />"; |
401 | 399 | } |
— | — | @@ -406,7 +404,7 @@ |
407 | 405 | $wgOut->addHTML( $prevLink ); |
408 | 406 | } |
409 | 407 | if( isset( $prevLink ) && isset( $nextLink ) ) { |
410 | | - $wgOut->addHTML( $separator ); |
| 408 | + $wgOut->addHTML( ' | ' ); |
411 | 409 | } |
412 | 410 | if( isset( $nextLink ) ) { |
413 | 411 | $wgOut->addHTML( $nextLink ); |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -338,7 +338,7 @@ |
339 | 339 | |
340 | 340 | wfRunHooks( 'ContributionsToolLinks', array( $id, $nt, &$tools ) ); |
341 | 341 | |
342 | | - $links = implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $tools ); |
| 342 | + $links = implode( ' | ', $tools ); |
343 | 343 | } |
344 | 344 | |
345 | 345 | // Old message 'contribsub' had one parameter, but that doesn't work for |
Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | $links[$key] = wfMsgHtml( $msg, $link ); |
150 | 150 | } |
151 | 151 | |
152 | | - return implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ); |
| 152 | + return implode( ' | ', $links ); |
153 | 153 | } |
154 | 154 | |
155 | 155 | protected function form() { |
Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -463,7 +463,7 @@ |
464 | 464 | $links[] = $skin->makeLink ( 'MediaWiki:Ipbreason-dropdown', wfMsgHtml( 'ipb-edit-dropdown' ) ); |
465 | 465 | $links[] = $this->getUnblockLink( $skin ); |
466 | 466 | $links[] = $this->getBlockListLink( $skin ); |
467 | | - return '<p class="mw-ipb-conveniencelinks">' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ) . '</p>'; |
| 467 | + return '<p class="mw-ipb-conveniencelinks">' . implode( ' | ', $links ) . '</p>'; |
468 | 468 | } |
469 | 469 | |
470 | 470 | /** |
Index: trunk/phase3/includes/specials/SpecialWatchlist.php |
— | — | @@ -271,7 +271,7 @@ |
272 | 272 | # Namespace filter and put the whole form together. |
273 | 273 | $form .= $wlInfo; |
274 | 274 | $form .= $cutofflinks; |
275 | | - $form .= implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $links ); |
| 275 | + $form .= implode( ' | ', $links ); |
276 | 276 | $form .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $thisTitle->getLocalUrl() ) ); |
277 | 277 | $form .= '<p>'; |
278 | 278 | $form .= Xml::label( wfMsg( 'namespace' ), 'namespace' ) . ' '; |
— | — | @@ -382,11 +382,10 @@ |
383 | 383 | foreach( $days as $d ) { |
384 | 384 | $days[$i++] = wlDaysLink( $d, $page, $options ); |
385 | 385 | } |
386 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
387 | 386 | return wfMsgExt('wlshowlast', |
388 | 387 | array('parseinline', 'replaceafter'), |
389 | | - implode( $separator, $hours ), |
390 | | - implode( $separator, $days ), |
| 388 | + implode(' | ', $hours), |
| 389 | + implode(' | ', $days), |
391 | 390 | wlDaysLink( 0, $page, $options ) ); |
392 | 391 | } |
393 | 392 | |
Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -45,8 +45,7 @@ |
46 | 46 | $wgOut->addScriptFile( 'allmessages.js' ); |
47 | 47 | if ( $ot == 'php' ) { |
48 | 48 | $navText .= wfAllMessagesMakePhp( $messages ); |
49 | | - $wgOut->addHTML( 'PHP | <a href="' . $wgTitle->escapeLocalUrl( 'ot=html' ) . '">HTML</a>' . |
50 | | - wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . |
| 49 | + $wgOut->addHTML( 'PHP | <a href="' . $wgTitle->escapeLocalUrl( 'ot=html' ) . '">HTML</a> | ' . |
51 | 50 | '<a href="' . $wgTitle->escapeLocalUrl( 'ot=xml' ) . '">XML</a>' . |
52 | 51 | '<pre>' . htmlspecialchars( $navText ) . '</pre>' ); |
53 | 52 | } else if ( $ot == 'xml' ) { |
— | — | @@ -54,9 +53,8 @@ |
55 | 54 | header( 'Content-type: text/xml' ); |
56 | 55 | echo wfAllMessagesMakeXml( $messages ); |
57 | 56 | } else { |
58 | | - $wgOut->addHTML( '<a href="' . $wgTitle->escapeLocalUrl( 'ot=php' ) . '">PHP</a>' . |
59 | | - wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . |
60 | | - 'HTML' . wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . '<a href="' . $wgTitle->escapeLocalUrl( 'ot=xml' ) . '">XML</a>' ); |
| 57 | + $wgOut->addHTML( '<a href="' . $wgTitle->escapeLocalUrl( 'ot=php' ) . '">PHP</a> | ' . |
| 58 | + 'HTML | <a href="' . $wgTitle->escapeLocalUrl( 'ot=xml' ) . '">XML</a>' ); |
61 | 59 | $wgOut->addWikiText( $navText ); |
62 | 60 | $wgOut->addHTML( wfAllMessagesMakeHTMLText( $messages ) ); |
63 | 61 | } |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -913,15 +913,14 @@ |
914 | 914 | $diff = $wgRequest->getVal( 'diff' ); |
915 | 915 | $action = $wgRequest->getText( 'action' ); |
916 | 916 | |
917 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
918 | 917 | $s = $this->printableLink(); |
919 | 918 | $disclaimer = $this->disclaimerLink(); # may be empty |
920 | 919 | if( $disclaimer ) { |
921 | | - $s .= $separator . $disclaimer; |
| 920 | + $s .= ' | ' . $disclaimer; |
922 | 921 | } |
923 | 922 | $privacy = $this->privacyLink(); # may be empty too |
924 | 923 | if( $privacy ) { |
925 | | - $s .= $separator . $privacy; |
| 924 | + $s .= ' | ' . $privacy; |
926 | 925 | } |
927 | 926 | |
928 | 927 | if ( $wgOut->isArticleRelated() ) { |
— | — | @@ -931,12 +930,12 @@ |
932 | 931 | if( $image ) { |
933 | 932 | $link = htmlspecialchars( $image->getURL() ); |
934 | 933 | $style = $this->getInternalLinkAttributes( $link, $name ); |
935 | | - $s .= $separator . "<a href=\"{$link}\"{$style}>{$name}</a>"; |
| 934 | + $s .= " | <a href=\"{$link}\"{$style}>{$name}</a>"; |
936 | 935 | } |
937 | 936 | } |
938 | 937 | } |
939 | 938 | if ( 'history' == $action || isset( $diff ) || isset( $oldid ) ) { |
940 | | - $s .= $separator . $this->makeKnownLinkObj( $wgTitle, |
| 939 | + $s .= ' | ' . $this->makeKnownLinkObj( $wgTitle, |
941 | 940 | wfMsg( 'currentrev' ) ); |
942 | 941 | } |
943 | 942 | |
— | — | @@ -946,7 +945,7 @@ |
947 | 946 | if( !$wgTitle->equals( $wgUser->getTalkPage() ) ) { |
948 | 947 | $tl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessageslink' ), 'redirect=no' ); |
949 | 948 | $dl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessagesdifflink' ), 'diff=cur' ); |
950 | | - $s.= $separator . '<strong>'. wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>'; |
| 949 | + $s.= ' | <strong>'. wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>'; |
951 | 950 | # disable caching |
952 | 951 | $wgOut->setSquidMaxage(0); |
953 | 952 | $wgOut->enableClientCache(false); |
— | — | @@ -955,7 +954,7 @@ |
956 | 955 | |
957 | 956 | $undelete = $this->getUndeleteLink(); |
958 | 957 | if( !empty( $undelete ) ) { |
959 | | - $s .= $separator . $undelete; |
| 958 | + $s .= ' | '.$undelete; |
960 | 959 | } |
961 | 960 | return $s; |
962 | 961 | } |
— | — | @@ -988,7 +987,7 @@ |
989 | 988 | if( $wgOut->isSyndicated() ) { |
990 | 989 | foreach( $wgFeedClasses as $format => $class ) { |
991 | 990 | $feedurl = $wgRequest->escapeAppendQuery( "feed=$format" ); |
992 | | - $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . "<a href=\"$feedurl\">{$format}</a>"; |
| 991 | + $s .= " | <a href=\"$feedurl\">{$format}</a>"; |
993 | 992 | } |
994 | 993 | } |
995 | 994 | return $s; |
— | — | @@ -1036,7 +1035,7 @@ |
1037 | 1036 | $getlink = $this->makeKnownLinkObj( $linkObj, htmlspecialchars( $display ) ); |
1038 | 1037 | $c++; |
1039 | 1038 | if ($c>1) { |
1040 | | - $subpages .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
| 1039 | + $subpages .= ' | '; |
1041 | 1040 | } else { |
1042 | 1041 | $subpages .= '< '; |
1043 | 1042 | } |
— | — | @@ -1103,9 +1102,9 @@ |
1104 | 1103 | SpecialPage::getTitleFor( 'Userlogout' ), wfMsg( 'logout' ), |
1105 | 1104 | array(), array( 'returnto' => $returnTo ) |
1106 | 1105 | ); |
1107 | | - $ret .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . $this->specialLink( 'preferences' ); |
| 1106 | + $ret .= ' | ' . $this->specialLink( 'preferences' ); |
1108 | 1107 | } |
1109 | | - $ret .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . $this->link( |
| 1108 | + $ret .= ' | ' . $this->link( |
1110 | 1109 | Title::newFromText( wfMsgForContent( 'helppage' ) ), |
1111 | 1110 | wfMsg( 'help' ) |
1112 | 1111 | ); |
— | — | @@ -1171,7 +1170,7 @@ |
1172 | 1171 | $s = ''; |
1173 | 1172 | wfRunHooks( 'SkinTemplateTabs', array( $this, &$tabs ) ); |
1174 | 1173 | foreach( $tabs as $tab ) { |
1175 | | - $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . Xml::element( 'a', |
| 1174 | + $s .= ' | ' . Xml::element( 'a', |
1176 | 1175 | array( 'href' => $tab['href'] ), |
1177 | 1176 | $tab['text'] ); |
1178 | 1177 | } |
— | — | @@ -1192,7 +1191,7 @@ |
1193 | 1192 | $varname = $wgContLang->getVariantname( $code ); |
1194 | 1193 | if( $varname == 'disable' ) |
1195 | 1194 | continue; |
1196 | | - $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . '<a href="' . $wgTitle->escapeLocalUrl( 'variant=' . $code ) . '">' . htmlspecialchars( $varname ) . '</a>'; |
| 1195 | + $s .= ' | <a href="' . $wgTitle->escapeLocalUrl( 'variant=' . $code ) . '">' . htmlspecialchars( $varname ) . '</a>'; |
1197 | 1196 | } |
1198 | 1197 | } |
1199 | 1198 | return $s; |
— | — | @@ -1623,7 +1622,7 @@ |
1624 | 1623 | $first = true; |
1625 | 1624 | if($wgContLang->isRTL()) $s .= '<span dir="LTR">'; |
1626 | 1625 | foreach( $a as $l ) { |
1627 | | - if ( ! $first ) { $s .= wfMsgExt( 'pipe-separator' , 'escapenoentities' ); } |
| 1626 | + if ( ! $first ) { $s .= ' | '; } |
1628 | 1627 | $first = false; |
1629 | 1628 | |
1630 | 1629 | $nt = Title::newFromText( $l ); |
Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1062,7 +1062,7 @@ |
1063 | 1063 | } |
1064 | 1064 | |
1065 | 1065 | if( $items ) { |
1066 | | - return ' (' . implode( wfMsgExt( 'pipe-separator' , 'escapenoentities' ), $items ) . ')'; |
| 1066 | + return ' (' . implode( ' | ', $items ) . ')'; |
1067 | 1067 | } else { |
1068 | 1068 | return ''; |
1069 | 1069 | } |
Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -926,12 +926,10 @@ |
927 | 927 | } else { |
928 | 928 | $nlink = '<a href="' . $title->escapeLocalUrl( $q ) . "\" class=\"mw-nextlink\">{$next}</a>"; |
929 | 929 | } |
930 | | - |
931 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
932 | | - $nums = wfNumLink( $offset, 20, $title, $query ) . $separator . |
933 | | - wfNumLink( $offset, 50, $title, $query ) . $separator . |
934 | | - wfNumLink( $offset, 100, $title, $query ) . $separator . |
935 | | - wfNumLink( $offset, 250, $title, $query ) . $separator . |
| 930 | + $nums = wfNumLink( $offset, 20, $title, $query ) . ' | ' . |
| 931 | + wfNumLink( $offset, 50, $title, $query ) . ' | ' . |
| 932 | + wfNumLink( $offset, 100, $title, $query ) . ' | ' . |
| 933 | + wfNumLink( $offset, 250, $title, $query ) . ' | ' . |
936 | 934 | wfNumLink( $offset, 500, $title, $query ); |
937 | 935 | |
938 | 936 | return wfMsg( 'viewprevnext', $plink, $nlink, $nums ); |
Index: trunk/phase3/includes/Pager.php |
— | — | @@ -513,8 +513,7 @@ |
514 | 514 | |
515 | 515 | $pagingLinks = $this->getPagingLinks( $linkTexts ); |
516 | 516 | $limitLinks = $this->getLimitLinks(); |
517 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
518 | | - $limits = implode( $separator, $limitLinks ); |
| 517 | + $limits = implode( ' | ', $limitLinks ); |
519 | 518 | |
520 | 519 | $this->mNavigationBar = |
521 | 520 | "({$pagingLinks['first']} | {$pagingLinks['last']}) " . |
— | — | @@ -533,7 +532,7 @@ |
534 | 533 | if( $first ) { |
535 | 534 | $first = false; |
536 | 535 | } else { |
537 | | - $extra .= $separator; |
| 536 | + $extra .= ' | '; |
538 | 537 | } |
539 | 538 | |
540 | 539 | if( $order == $this->mOrderType ) { |
— | — | @@ -592,12 +591,11 @@ |
593 | 592 | 'last' => wfMsgHtml( 'histfirst' ) |
594 | 593 | ); |
595 | 594 | |
596 | | - $separator = wfMsgExt( 'pipe-separator' , 'escapenoentities' ); |
597 | 595 | $pagingLinks = $this->getPagingLinks( $linkTexts ); |
598 | 596 | $limitLinks = $this->getLimitLinks(); |
599 | | - $limits = implode( $separator, $limitLinks ); |
| 597 | + $limits = implode( ' | ', $limitLinks ); |
600 | 598 | |
601 | | - $this->mNavigationBar = "({$pagingLinks['first']}" . $separator . "{$pagingLinks['last']}) " . |
| 599 | + $this->mNavigationBar = "({$pagingLinks['first']} | {$pagingLinks['last']}) " . |
602 | 600 | wfMsgHtml("viewprevnext", $pagingLinks['prev'], $pagingLinks['next'], $limits); |
603 | 601 | return $this->mNavigationBar; |
604 | 602 | } |
Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -2549,7 +2549,6 @@ |
2550 | 2550 | 'comma-separator', |
2551 | 2551 | 'colon-separator', |
2552 | 2552 | 'autocomment-prefix', |
2553 | | - 'pipe-separator', |
2554 | 2553 | ), |
2555 | 2554 | 'imgmulti' => array( |
2556 | 2555 | 'imgmultipageprev', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -314,7 +314,6 @@ |
315 | 315 | 'comma-separator', |
316 | 316 | 'colon-separator', |
317 | 317 | 'autocomment-prefix', |
318 | | - 'pipe-separator', |
319 | 318 | 'listgrouprights-right-display', |
320 | 319 | 'timezone-utc', |
321 | 320 | 'whatlinkshere-backlink', |