Fix custom local MediaWiki:Helppage values
authorMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 26 Mar 2014 03:15:59 +0000 (23:15 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 26 Mar 2014 03:15:59 +0000 (23:15 -0400)
Followup to 3a6ea89d4aa4a0fbc36a209fa13b1c6134110ca9

Change-Id: I7effec352d263f536d1d1763e9cd56d2f5154f13

includes/EditPage.php

index d4b06fe..8f5b31e 100644 (file)
@@ -2082,9 +2082,9 @@ class EditPage {
                }
                # Try to add a custom edit intro, or use the standard one if this is not possible.
                if ( !$this->showCustomIntro() && !$this->mTitle->exists() ) {
-                       $helpLink = Skin::makeInternalOrExternalUrl(
+                       $helpLink = wfExpandUrl( Skin::makeInternalOrExternalUrl(
                                wfMessage( 'helppage' )->inContentLanguage()->text()
-                       );
+                       ) );
                        if ( $wgUser->isLoggedIn() ) {
                                $wgOut->wrapWikiMsg(
                                        // Suppress the external link icon, consider the help url an internal one