Podręcznik:ConvertLinks.php
Plik MediaWiki: convertLinks.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Klasy: | ConvertLinks |
Szczegóły
convertLinks.php file is a 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.
Użycie
Opcja/Parametr | Opis |
---|---|
--logperformance | Log performance to perfLogFilename. Defaults to false. |
--perfLogFilename | Filename where performance is logged if --logperformance was set (defaults to 'convLinksPerf.txt' ).
|
--keep-links-table | Don't overwrite the old links table with the new one, leave the new table at links_temp .
|
--nokeys | Don't create keys, and so allow duplicates in the new links table. This gives a huge speed improvement for very large links tables which are MyISAM. |