From ad864ad00ef7e4f320aedc42181ff050a18a86fd Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 16 Apr 2006 17:57:34 +0000 Subject: [PATCH] (bug 5536) Use content language for editing help link --- RELEASE-NOTES | 1 + includes/EditPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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' ) ); -- 2.20.1