Fix regression in 22905
This commit is contained in:
parent
4614a400fc
commit
cbaaddfb8d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue