Don't use wfMsg('go') on this submit button. It's already used for the "Go" search...
authorArne Heizmann <timwi@users.mediawiki.org>
Sat, 14 Aug 2004 09:20:00 +0000 (09:20 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Sat, 14 Aug 2004 09:20:00 +0000 (09:20 +0000)
Shouldn't overload translatable messages like that. It's quite a different context here.

includes/SpecialAllpages.php
languages/Language.php

index 8841e2b..90348e0 100644 (file)
@@ -41,7 +41,7 @@ function namespaceForm ( $namespace = 0, $from = "" )
 
        $frombox = '<input type="text" size="20" name="from" value="'
                    . htmlspecialchars ( $from ) . '"/>';
-       $submitbutton = '<input type="submit" value="' . wfMsg( 'go' ) . '" />';
+       $submitbutton = '<input type="submit" value="' . wfMsg( 'allpagessubmit' ) . '" />';
 
        $out = "<div class='namespaceselector'><form method='get' action='{$wgScript}'>";
        $out .= '<input type="hidden" name="title" value="'.$t->getPrefixedText().'" />';
index ed6c53d..6a0efbb 100644 (file)
@@ -1013,6 +1013,7 @@ this list should not be construed as an endorsement.",
 'allpagesprev'      => 'Previous',
 'allpagesnext'      => 'Next',
 'allpagesnamespace' => 'All pages ($1 namespace)',
+'allpagessubmit'    => 'Go',
 
 # Email this user
 #