Manual:Pywikibot/interwiki.py

There is a functional need for interlanguage links between the different language versions of a project, interwiki.py can help you create these. It has a diffferent behaviour for the wiktionary and the wikipedia projects.

wiktionary
The behaviour on a wiktionary project is different from the wikipedia behaviour. Only words that are exactly the same make for good interwikilinks.

Capitalising wiktionaries
Wiktionaries like en: who capitalise all words will look for words both capitalised and uncaplitalised. When both exist, the software will not add a link.

Wiktionaries without capitalisation
The majority of the wiktionaries have no capitalisation of their article titles. They expect an exact match from other non capitalising wiktionaries. For capitalising wiktionaries it will also expect exact matches.

Parameters

 * -start; the default is to go through all pages from Special:Allpages in order. This may however be done spread out over various runs. If one wants to continue, give the argument "-start:page!" with page the last page of which you know it has been done. The bot will then do the pages coming after that.


 * -autonomous; this will process only those articles that do not present a problem. For all articles that require intervention, an entry will be written to a log file


 * -wiktionary; this will trigger the wiktionary behaviour.