Missing $wgRequest in showSummaryInput
authorDaniel Friesen <dantman@users.mediawiki.org>
Thu, 3 Dec 2009 08:22:56 +0000 (08:22 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Thu, 3 Dec 2009 08:22:56 +0000 (08:22 +0000)
includes/EditPage.php

index 1bb8f45..b4515dd 100644 (file)
@@ -1566,7 +1566,7 @@ END
         * @return string
         */
        protected function showSummaryInput( $isSubjectPreview, $summary = "" ) {
-               global $wgOut, $wgContLang;
+               global $wgOut, $wgContLang, $wgRequest;
                # Add a class if 'missingsummary' is triggered to allow styling of the summary line
                $summaryClass = $this->missingSummary ? 'mw-summarymissed' : 'mw-summary';
                if ( $isSubjectPreview ) {