From b909a6217aecbc913c7e2d62ed288b4e4142894b Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sat, 25 Jun 2005 21:32:11 +0000 Subject: [PATCH] (bug 2496) Allow MediaWiki:edithelppage to point to external page --- RELEASE-NOTES | 1 + includes/EditPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2e8664a680..20a077767b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -335,6 +335,7 @@ Various bugfixes, small features, and a few experimental things: documentation about edit and read whitelists. * (bug 2515) Fix incremental link table update * Removed some wikipedia-specifica from LanguageXx.php's +* (bug 2496) Allow MediaWiki:edithelppage to point to external page === Caveats === diff --git a/includes/EditPage.php b/includes/EditPage.php index d6f3c50ff5..cff20f080b 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -532,7 +532,7 @@ class EditPage { $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedText(), wfMsg('cancel') ); - $edithelpurl = $sk->makeUrl( wfMsg( 'edithelppage' )); + $edithelpurl = $sk->makeInternalOrExternalUrl( wfMsg( 'edithelppage' )); $edithelp = ''. htmlspecialchars( wfMsg( 'edithelp' ) ).' '. htmlspecialchars( wfMsg( 'newwindow' ) ); -- 2.20.1