From bc723f7489477c53bc4239dc483a63d8ac9f58f8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 9 Jun 2008 23:54:17 +0000 Subject: [PATCH] * (bug 12311) Fix regression with lists at start of undeletion preview From patch by RockMFR - https://bugzilla.wikimedia.org/attachment.cgi?id=4969 --- RELEASE-NOTES | 1 + includes/SpecialUndelete.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5daa2bc718..ede6278a1f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 2adbbb0030..33d9476013 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -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( -- 2.20.1