summaryrefslogtreecommitdiff
path: root/maintenance/convertLinks.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/convertLinks.php')
-rw-r--r--maintenance/convertLinks.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/maintenance/convertLinks.php b/maintenance/convertLinks.php
new file mode 100644
index 00000000..5939b943
--- /dev/null
+++ b/maintenance/convertLinks.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Convert from the old links schema (string->ID) to the new schema (ID->ID)
+ * The wiki should be put into read-only mode while this script executes
+ *
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
+
+/** */
+require_once( "commandLine.inc" );
+require_once( "convertLinks.inc" );
+
+convertLinks();
+
+?>