* (bug 12311) Fix regression with lists at start of undeletion preview
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 9 Jun 2008 23:54:17 +0000 (23:54 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 9 Jun 2008 23:54:17 +0000 (23:54 +0000)
From patch by RockMFR - https://bugzilla.wikimedia.org/attachment.cgi?id=4969

RELEASE-NOTES
includes/SpecialUndelete.php

index 5daa2bc..ede6278 100644 (file)
@@ -354,6 +354,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14392) Fix regression breaking table prefix in installer
 * (bug 11084) $wgDBprefix replacement for updater SQL will now work for
   extension tables using uppercase letters or digits in their names.
+* (bug 12311) Fix regression with lists at start of undeletion preview
 
 
 === API changes in 1.13 ===
index 2adbbb0..33d9476 100644 (file)
@@ -776,7 +776,7 @@ class UndeleteForm {
                        $popts = $wgOut->parserOptions();
                        $popts->setEditSection( false );
                        $wgOut->parserOptions( $popts );
-                       $wgOut->addWikiTextTitleTidy( $rev->revText(), $this->mTargetObj, false );
+                       $wgOut->addWikiTextTitleTidy( $rev->revText(), $this->mTargetObj, true );
                }
 
                $wgOut->addHtml(