Ero sivun ”Wikipedia:Botit/hakemukset” versioiden välillä

Poistettu sisältö Lisätty sisältö
Hercule (keskustelu | muokkaukset)
→‎HerculeBot: details of the program
Hercule (keskustelu | muokkaukset)
Rivi 88:
::I collect interwikis (using the API)
::For each interwiki, I go to the target page, look original wiki interwiki (pattern like <nowiki>[[</nowiki>''wiki'':*<nowiki>]]</nowiki>) If this interwiki is founded, I compare it to <nowiki>[[</nowiki>''wiki'':''page''<nowiki>]]</nowiki>. If it doen't match I make a replacement, displaying a message on my console. If the interwiki include "#", I display a message on my console, and don't correct it, because it might be that the target page is about a larger subject.
::If I don't find <nowiki>[[</nowiki>''wiki'':*<nowiki>]]</nowiki>, I just display a message on the console (expliciting if page is blank or if it's a redirect)
::For non authorized wikis I also display a message on the console to be able to make manual update (currently pl and fi are disabled).
:As you can see, requests are simple, and not numerous.