(bug 5536) Use content language for editing help link
authorRob Church <robchurch@users.mediawiki.org>
Sun, 16 Apr 2006 17:57:34 +0000 (17:57 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sun, 16 Apr 2006 17:57:34 +0000 (17:57 +0000)
RELEASE-NOTES
includes/EditPage.php

index c0021f9..baebfbd 100644 (file)
@@ -76,6 +76,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Minor improvements to French localisation files
 * (bug 5181) Update "nogomatch" for Slovak
 * (bug 5594) Id translation up to # Login and logout pages section
+* (bug 5536) Use content language for editing help link
 
 == Compatibility ==
 
index 6de9d1e..102ff66 100644 (file)
@@ -835,7 +835,7 @@ class EditPage {
 
                $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedText(),
                                wfMsg('cancel') );
-               $edithelpurl = $sk->makeInternalOrExternalUrl( wfMsg( 'edithelppage' ));
+               $edithelpurl = $sk->makeInternalOrExternalUrl( wfMsgForContent( 'edithelppage' ));
                $edithelp = '<a target="helpwindow" href="'.$edithelpurl.'">'.
                        htmlspecialchars( wfMsg( 'edithelp' ) ).'</a> '.
                        htmlspecialchars( wfMsg( 'newwindow' ) );