Jump to content

Wikia code/DONE/maintenance/deleteBatch.php

From mediawiki.org

Merged here: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97531 Done.

This has been reverted as it's clearly broken, using a variable $page_id which does not exist. --brion 20:08, 19 September 2011 (UTC)[reply]
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\maintenance\deleteBatch.php	2011-07-18 22:30:28.575195300 +0100
+++ D:\Programming\SVN\wikia\trunk\maintenance\deleteBatch.php	2011-08-17 15:05:34.986328100 +0100
@@ -95,6 +95,7 @@
 			$success = $art->doDeleteArticle( $reason );
 			$dbw->commit();
 			if ( $success ) {
+				wfRunHooks('ArticleDeleteComplete', array(&$art, &$wgUser, $reason, $page_id));
 				$this->output( "\n" );
 			} else {
 				$this->output( " FAILED to delete article\n" );