Index: branches/REL1_6/phase3/includes/Skin.php |
— | — | @@ -502,12 +502,15 @@ |
503 | 503 | |
504 | 504 | if( count( $wgOut->mCategoryLinks ) == 0 ) return ''; |
505 | 505 | |
| 506 | + # Separator |
| 507 | + $sep = wfMsgHtml( 'catseparator' ); |
| 508 | + |
506 | 509 | // Use Unicode bidi embedding override characters, |
507 | 510 | // to make sure links don't smash each other up in ugly ways. |
508 | 511 | $dir = $wgContLang->isRTL() ? 'rtl' : 'ltr'; |
509 | 512 | $embed = "<span dir='$dir'>"; |
510 | 513 | $pop = '</span>'; |
511 | | - $t = $embed . implode ( "$pop | $embed" , $wgOut->mCategoryLinks ) . $pop; |
| 514 | + $t = $embed . implode ( "{$pop} {$sep} {$embed}" , $wgOut->mCategoryLinks ) . $pop; |
512 | 515 | |
513 | 516 | $msg = count( $wgOut->mCategoryLinks ) === 1 ? 'categories1' : 'categories'; |
514 | 517 | $s = $this->makeKnownLinkObj( Title::makeTitle( NS_SPECIAL, 'Categories' ), |
Index: branches/REL1_6/phase3/RELEASE-NOTES |
— | — | @@ -32,6 +32,7 @@ |
33 | 33 | * (bug 5646) Compare for identical types in wfElement() |
34 | 34 | * Fix for concurrency problem in job queue (image description page invalidation) |
35 | 35 | * (bug 5497) regeression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>) |
| 36 | +* (bug 5709) Allow customisation of separator for categories |
36 | 37 | |
37 | 38 | |
38 | 39 | == MediaWiki 1.6.3 == |
Index: branches/REL1_6/phase3/languages/Messages.php |
— | — | @@ -1998,6 +1998,9 @@ |
1999 | 1999 | 'articletitles' => "Articles starting with ''$1''", |
2000 | 2000 | 'hideresults' => 'Hide results', |
2001 | 2001 | |
| 2002 | +# Separator for categories in page lists |
| 2003 | +'catseparator' => '|', |
| 2004 | + |
2002 | 2005 | ); |
2003 | 2006 | |
2004 | 2007 | |