From: Rob Church Date: Sun, 16 Apr 2006 17:57:34 +0000 (+0000) Subject: (bug 5536) Use content language for editing help link X-Git-Tag: 1.31.0-rc.0~57474 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=ad864ad00ef7e4f320aedc42181ff050a18a86fd;p=lhc%2Fweb%2Fwiklou.git (bug 5536) Use content language for editing help link --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c0021f965d..baebfbd143 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/EditPage.php b/includes/EditPage.php index 6de9d1ef0f..102ff66d2d 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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 = ''. htmlspecialchars( wfMsg( 'edithelp' ) ).' '. htmlspecialchars( wfMsg( 'newwindow' ) );