This will preserve the functionality of the prefix as an interlink, but will replace the prefix in the page titles with the name of the wiki where they're imported into, and might be quite a pain to do on large dumps.Įxample: replace all 'Meta:' with 'Project:' in the XML file. Replace the unwanted prefix in the XML file with "Project:" before importing.Alternatively, if you have enabled editing the interwiki table, you can simply go to Special:Interwiki and click the 'Delete' link on the right side of the row belonging to that prefix. How to do it: before importing the dump, run the query DELETE FROM interwiki WHERE iw_prefix='prefix' (note: do not include the colon in the prefix). This will preserve page titles, but prevent interwiki linking through that prefix.Įxample: you will preserve page titles 'Meta:Blah blah' but will not be able to use the prefix 'meta:' to link to (although it will be possible through a different prefix).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |