Small changes to Special:Disambiguations
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 21 Jul 2009 12:31:51 +0000 (12:31 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 21 Jul 2009 12:31:51 +0000 (12:31 +0000)
** Use 'editlink' message instead of 'qbedit' (CologneBlue specific message)
** Use parentheses message instead of hardcoded parentheses

includes/specials/SpecialDisambiguations.php

index 0a728b6..1941112 100644 (file)
@@ -88,7 +88,7 @@ class DisambiguationsPage extends PageQueryPage {
                $dp = Title::makeTitle( $result->namespace, $result->title );
 
                $from = $skin->link( $title );
-               $edit = $skin->link( $title, "(".wfMsgHtml("qbedit").")", array(), array( 'redirect' => 'no', 'action' => 'edit' ) );
+               $edit = $skin->link( $title, wfMsgExt( 'parentheses', array( 'escape' ), wfMsg( 'editlink' ) ) , array(), array( 'redirect' => 'no', 'action' => 'edit' ) );
                $arr  = $wgContLang->getArrow();
                $to   = $skin->link( $dp );