dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4614a40
)
Fix regression in 22905
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 12 Jun 2007 19:49:38 +0000
(19:49 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 12 Jun 2007 19:49:38 +0000
(19:49 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
e0dcc75
..
fa8e04c
100644
(file)
--- 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;