r79538 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79537‎ | r79538 | r79539 >
Date:23:58, 3 January 2011
Author:demon
Status:ok
Tags:
Comment:
Use r79537 in PureWikiDeletion (r79516 is where I spotted this and had the awesome idea)
Modified paths:
  • /trunk/extensions/PureWikiDeletion/PureWikiDeletion.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PureWikiDeletion/PureWikiDeletion.hooks.php
@@ -289,8 +289,7 @@
290290 global $wgExtNewTables;
291291 $wgExtNewTables[] = array( 'blanked_page', dirname( __FILE__ ) . '/purewikideletiontable.sql' );
292292 } else {
293 - $updater->addExtensionUpdate( array( 'addTable', 'blanked_page',
294 - dirname( __FILE__ ) . '/purewikideletiontable.sql', true ) );
 293+ $updater->addExtensionTable( 'blanked_page', dirname( __FILE__ ) . '/purewikideletiontable.sql' );
295294 }
296295 return true;
297296 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79516Converted PureWikiDeletion extension to use the new version of the LoadExtens...ialex19:01, 3 January 2011
r79537Add new addExtensionTable() wrapper for adding new tables for extensions: way...demon23:56, 3 January 2011

Status & tagging log