From: Jens Frank Date: Sat, 25 Jun 2005 21:32:11 +0000 (+0000) Subject: (bug 2496) Allow MediaWiki:edithelppage to point to external page X-Git-Tag: 1.5.0beta1~21 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=b909a6217aecbc913c7e2d62ed288b4e4142894b;p=lhc%2Fweb%2Fwiklou.git (bug 2496) Allow MediaWiki:edithelppage to point to external page --- 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' ) );