(bug 2496) Allow MediaWiki:edithelppage to point to external page
authorJens Frank <jeluf@users.mediawiki.org>
Sat, 25 Jun 2005 21:32:11 +0000 (21:32 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sat, 25 Jun 2005 21:32:11 +0000 (21:32 +0000)
RELEASE-NOTES
includes/EditPage.php

index 2e8664a..20a0777 100644 (file)
@@ -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 ===
 
index d6f3c50..cff20f0 100644 (file)
@@ -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 = '<a target="helpwindow" href="'.$edithelpurl.'">'.
                        htmlspecialchars( wfMsg( 'edithelp' ) ).'</a> '.
                        htmlspecialchars( wfMsg( 'newwindow' ) );