Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ciencia/66e19f07c6836ba71ae600c3c33f71f8 to your computer and use it in GitHub Desktop.
Save ciencia/66e19f07c6836ba71ae600c3c33f71f8 to your computer and use it in GitHub Desktop.
MediaWiki ext-AbuseFilter updater no destructive updates REL1_43
diff --git a/includes/Hooks/Handlers/SchemaChangesHandler.php b/includes/Hooks/Handlers/SchemaChangesHandler.php
index 7be91ca1..50ce16dd 100644
--- a/includes/Hooks/Handlers/SchemaChangesHandler.php
+++ b/includes/Hooks/Handlers/SchemaChangesHandler.php
@@ -182,17 +182,17 @@ class SchemaChangesHandler implements LoadExtensionSchemaUpdatesHook {
MigrateActorsAF::class,
] );
- // 1.43
- $updater->addExtensionUpdate( [
- 'dropField', 'abuse_filter', 'af_user',
- "$dir/$dbType/patch-drop-af_user.sql", true
- ] );
-
- // 1.43
- $updater->addExtensionUpdate( [
- 'dropField', 'abuse_filter_history', 'afh_user',
- "$dir/$dbType/patch-drop-afh_user.sql", true
- ] );
+ // // 1.43
+ // $updater->addExtensionUpdate( [
+ // 'dropField', 'abuse_filter', 'af_user',
+ // "$dir/$dbType/patch-drop-af_user.sql", true
+ // ] );
+
+ // // 1.43
+ // $updater->addExtensionUpdate( [
+ // 'dropField', 'abuse_filter_history', 'afh_user',
+ // "$dir/$dbType/patch-drop-afh_user.sql", true
+ // ] );
$updater->addExtensionUpdate( [ [ $this, 'createAbuseFilterUser' ] ] );
// 1.35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment