r177 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r176‎ | r177 | r178 >
Date:18:09, 20 February 2002
Author:vibber
Status:old
Tags:
Comment:
Removed hardcoded English string in wikipedia:Help link
Modified paths:
  • /trunk/phpwiki/fpw/wikiPage.php (modified) (history)
  • /trunk/phpwiki/fpw/wikiTextEn.php (modified) (history)
  • /trunk/phpwiki/fpw/wikiTextEo.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/fpw/wikiTextEn.php
@@ -30,7 +30,7 @@
3131 $wikiLogIn = "Log in" ;
3232 $wikiLogOut = "Log out" ;
3333 $wikiHelp = "Help" ;
34 -$wikiHelpLink = "Help" ; # "special:" is added automatically
 34+$wikiHelpLink = "wikipedia:Help" ;
3535 $wikiPreferences = "Preferences" ;
3636 $wikiWhatLinksHere = "Pages that link here" ;
3737 $wikiPrintLinksMarkup = "i" ; # will be used as <$wikiPrintLinksMarkup> and </$wikiPrintLinksMarkup>
Index: trunk/phpwiki/fpw/wikiTextEo.php
@@ -36,7 +36,7 @@
3737 $wikiLogIn = "Salutu" ;
3838 $wikiLogOut = "Adiaŭu" ;
3939 $wikiHelp = "Helpo" ;
40 -$wikiHelpLink = "Helpo" ; # "special:" is added automatically
 40+$wikiHelpLink = "vikipedio:Helpo" ;
4141 $wikiPreferences = "Preferoj" ;
4242 $wikiWhatLinksHere = "Paĝoj kiuj ligas ĉi tien" ;
4343 $wikiPrintLinksMarkup = "i" ; # will be used as <$wikiPrintLinksMarkup> and </$wikiPrintLinksMarkup>
Index: trunk/phpwiki/fpw/wikiPage.php
@@ -998,7 +998,7 @@
999999 $ret .= "</td>\n<td valign=top width=200 rowspan=2 nowrap>".$user->getLink()."<br>" ;
10001000 if ( $user->isLoggedIn ) $ret .= "<a href=\"".wikiLink("special:userLogout")."\">$wikiLogOut</a> | <a href=\"".wikiLink("special:editUserSettings")."\">$wikiPreferences</a>" ;
10011001 else $ret .= "<a href=\"".wikiLink("special:userLogin")."\">$wikiLogIn</a>" ;
1002 - $ret .= " | <a href=\"".wikiLink("wikipedia:$wikiHelpLink")."\">$wikiHelp</a><br>\n" ;
 1002+ $ret .= " | <a href=\"".wikiLink($wikiHelpLink)."\">$wikiHelp</a><br>\n" ;
10031003
10041004 # Text encoding
10051005 if(count($wikiEncodingNames) > 1) { # Shortcut for switching character encodings

Status & tagging log