From: Brion Vibber Date: Tue, 12 Jun 2007 19:49:38 +0000 (+0000) Subject: Fix regression in 22905 X-Git-Tag: 1.31.0-rc.0~52572 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=cbaaddfb8dc4d56a110372fdf4734722fe50a2d7;p=lhc%2Fweb%2Fwiklou.git Fix regression in 22905 --- 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;