Wikia code/DONE/maintenance/deleteBatch.php
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.43.0. |
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)
--- 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" );