FR r98459: forgot to commit this!
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 29 Sep 2011 21:34:34 +0000 (21:34 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 29 Sep 2011 21:34:34 +0000 (21:34 +0000)
includes/Wiki.php

index c17b9cb..649fb13 100644 (file)
@@ -509,7 +509,7 @@ class MediaWiki {
                                if ( $request->getFullRequestURL() == $title->getInternalURL( 'action=history' ) ) {
                                        $output->setSquidMaxage( $wgSquidMaxage );
                                }
-                               $history = new HistoryPage( $article );
+                               $history = new HistoryPage( $article, $this->context );
                                $history->history();
                                break;
                        default: