Manual:ConvertLinks.php

Details
convertLinks.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script to convert the link table from the old links schema (string->ID) to the new schema (ID->ID). It is relevant during the migration from MediaWiki 1.4 or older to MediaWiki 1.5 or newer. The wiki should be put into read-only mode while this script executes.