Page MenuHomePhabricator

Bot tries to update wikis where it doesn't have account
Closed, DuplicatePublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1163/
Reported by: malafaya
Created on: 2010-04-12 16:48:46
Subject: Bot tries to update wikis where it doesn't have account
Original description:
interwiki.py -family:wiktionary -lang:br -untranslated -array:10 -whenneeded -subcats:"Wikeriadurourien dre o yezhoù"

At some point, I can see the following:

======Post-processing \[\[br:Rummad:Implijerien is\]\]======
Updating links on page \[\[fr:Catégorie:Utilisateurs is\]\].
Changes to be made: Ajoute: \[\[br:Rummad:Implijerien is\]\]
\+ \[\[br:Rummad:Implijerien is\]\]

NOTE: Updating live wiki...
Sleeping for 6.0 seconds, 2010-04-12 17:40:44
Updating page \[\[fr:Catégorie:Utilisateurs is\]\] via API
Updating links on page \[\[pl:Kategoria:User is\]\].
Changes to be made: dodaje: af, br, de, en, es, fi, fr, fy, is, pt, ro, ru, sv
\+ \[\[af:Kategorie:Gebruiker is\]\] \[\[br:Rummad:Implijerien is\]\] \[\[de:Kategorie:User
is\]\] \[\[en:Category:User is\]\] \[\[es:Categoría:Usuarios por idioma - Islandés\]\] \[\[
fr:Catégorie:Utilisateurs is\]\] \[\[fy:Kategory:Meidogger/Taal is\]\] \[\[is:Flokkur:No
tandi is\]\] \[\[pt:Categoria:\!Usuário is\]\] \[\[ro:Categorie:Utilizator is\]\] \[\[ru:Kate
goriya:User is\]\] \[\[fi:Luokka:User is\]\] \[\[sv:Kategori:Användare is\]\]

In the fr.wikt, it's OK: I have account there.
But I don't have account in pl.wikt nor I have it in my user-config.py\! I checked pl.wikt and nothing has been updated. I wonder what the bot tried to do.
I think it may be related to -whenneed, because I don't usually use it and I never had this problem before.

Pywikipedia \[svn+ssh\] wikimedia/svnroot/pywikipedia/trunk/pywikipedia \(r8072, 2010/04/09, 16:48:35\)
Python 2.5.2 \(r252:60911, Feb 21 2008, 13:11:45\) \[MSC v.1310 32 bit \(Intel\)\]


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1163

Details

Reference
bz55277

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:31 AM
bzimport set Reference to bz55277.
bzimport added a subscriber: Unknown Object (????).

This seems to be related to the -whenneeded switch.
I just used -whenneeded:4 in another bot run and I'm having a similar behaviour:

NOTE: Updating live wiki... Waiting for 16 pages to be put. Estimated time remaining: 0:02:40 Updating page \[\[en:Category:Norwegian nouns\]\] via API Page \[\[cy:Categori:Enwau Norwyeg\]\] not saved; sysop privileges required. Updating page \[\[en:Category:German nouns\]\] via API Updating page \[\[en:Category:English nouns\]\] via API Page \[\[wa:Categoreye:Sustantifs inglès\]\] not saved; sysop privileges required. Updating page \[\[en:Category:Czech nouns\]\] via API Updating page \[\[en:Category:Swedish nouns\]\] via API Updating page \[\[en:Category:Catalan nouns\]\] via API

I don't have bot account set for cy.wikt and wa.wikt \(where it complains about sysop privileges\).
The switch -limittwo doesn't seem to have problems.

Ladsgroup triaged this task as Lowest priority.Jun 8 2015, 2:45 AM
Ladsgroup added a project: Pywikibot-compat.
Ladsgroup set Security to None.