(bug 40058) Parse newwindow message.
authorAlex Monk <krenair@gmail.com>
Thu, 6 Sep 2012 16:24:48 +0000 (17:24 +0100)
committerAlex Monk <krenair@gmail.com>
Fri, 7 Sep 2012 20:30:31 +0000 (21:30 +0100)
Change-Id: Ibd24a2cbadecd0dbfeaa06d86d55dd2bcaeefa7d

includes/EditPage.php

index f9bba19..03918e2 100644 (file)
@@ -2489,7 +2489,7 @@ HTML
                $edithelpurl = Skin::makeInternalOrExternalUrl( wfMessage( 'edithelppage' )->inContentLanguage()->text() );
                $edithelp = '<a target="helpwindow" href="' . $edithelpurl . '">' .
                        wfMessage( 'edithelp' )->escaped() . '</a> ' .
-                       wfMessage( 'newwindow' )->escaped();
+                       wfMessage( 'newwindow' )->parse();
                $wgOut->addHTML( "      <span class='cancelLink'>{$cancel}</span>\n" );
                $wgOut->addHTML( "      <span class='editHelp'>{$edithelp}</span>\n" );
                $wgOut->addHTML( "</div><!-- editButtons -->\n</div><!-- editOptions -->\n" );