User:Leucosticte/Inclupedia/Sandbox

$wgHooks['LoadExtensionSchemaUpdates'][] = 'MirrorTools::MirrorToolsAddFields'; public static function MirrorToolsAddFields( $updater ) { $updater->addExtensionUpdate( array( 'addField', 'revision', 'rev_mr_id', dirname( __FILE__ ). '/patch-revision-rev_mr_id.sql', true ) ); return true; } ALTER TABLE /*$wgDBprefix*/revision ADD rev_mr_id int unsigned DEFAULT NULL;