From cbaaddfb8dc4d56a110372fdf4734722fe50a2d7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 12 Jun 2007 19:49:38 +0000 Subject: [PATCH] Fix regression in 22905 --- includes/EditPage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/EditPage.php b/includes/EditPage.php index e0dcc7554d..fa8e04c50e 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -610,6 +610,7 @@ class EditPage { if( $this->editintro ) { $title = Title::newFromText( $this->editintro ); if( $title instanceof Title && $title->exists() && $title->userCanRead() ) { + global $wgOut; $revision = Revision::newFromTitle( $title ); $wgOut->addSecondaryWikiText( $revision->getText() ); return true; -- 2.20.1