r57222 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57221‎ | r57222 | r57223 >
Date:14:29, 1 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix deletion for pages in thread namespace not associated with actual threads.
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/DeletionController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/DeletionController.php
@@ -93,6 +93,8 @@
9494
9595 $thread = Threads::withRoot( $article );
9696
 97+ if (!$thread) return true;
 98+
9799 if ( $thread->isTopmostThread() && count($thread->replies()) ) {
98100 wfLoadExtensionMessages( 'LiquidThreads' );
99101 $out->wrapWikiMsg( '<strong>$1</strong>',

Follow-up revisions

RevisionCommit summaryAuthorDate
r57224Merge r57222werdna14:47, 1 October 2009

Status & tagging log