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:
b421ac8
)
make undelete preview more consistent with normal article view (tidy, pagename)
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Tue, 28 Nov 2006 00:32:00 +0000
(
00:32
+0000)
committer
Ilmari Karonen
<vyznev@users.mediawiki.org>
Tue, 28 Nov 2006 00:32:00 +0000
(
00:32
+0000)
includes/SpecialUndelete.php
patch
|
blob
|
history
diff --git
a/includes/SpecialUndelete.php
b/includes/SpecialUndelete.php
index
f3bdb6a
..
9793b30
100644
(file)
--- a/
includes/SpecialUndelete.php
+++ b/
includes/SpecialUndelete.php
@@
-533,7
+533,8
@@
class UndeleteForm {
if( $this->mPreview ) {
$wgOut->addHtml( "<hr />\n" );
- $wgOut->addWikiText( $rev->getText() );
+ $article = new Article ( $archive->title ); # OutputPage wants an Article obj
+ $wgOut->addPrimaryWikiText( $rev->getText(), $article, false );
}
$self = SpecialPage::getTitleFor( "Undelete" );