Last modified: 2014-07-25 21:00:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57252, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55252 - Bot removes correct interwikis
Bot removes correct interwikis
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Lowest trivial
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:51 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-25 21:00 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:51:37 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1274/
Reported by: dixond
Created on: 2010-12-21 09:50:48
Subject: Bot removes correct interwikies
Original description:
Bot Removes correct interwikies. Examples:
http://de.wikipedia.org/w/index.php?title=Wikipedia:Autorenportal&diff=prev&oldid=82903654
http://de.wikipedia.org/w/index.php?title=Wikipedia:Grundprinzipien&diff=prev&oldid=82903605
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:51:41 UTC
- **priority**: 5 --> 8
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:51:43 UTC
What revision are you running? If you could switch to an earlier revision and check when the problem was introduced, that would be great.

Thanks.
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:51:44 UTC
r8785 \(you can see attached version.txt\). I can check with earlier revision but not right now, sorry.
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:51:46 UTC
Possibly related to my fixes in r8784/8785 to r8756/r8758/r8759. Unfortunately, I cannot revert at the moment \(I don't have my SSH keys here\). Will take a look at it later today.
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 04:51:48 UTC
I tried the same article - and bot removes the same links which only remains after your bot. 
http://de.wikipedia.org/w/index.php?title=Wikipedia:Grundprinzipien&diff=prev&oldid=82910952
Comment 6 Kunal Mehta (Legoktm) 2013-10-05 04:51:50 UTC
I cannot reproduce the behaviour using

python interwiki.py.test.py de:Wikipedia:Grundprinzipien

runing on this \[1\] revision. Could you try again and see if it still happens? And please give the command line you use to reproduce, too. Thanks.


\[1\] http://de.wikipedia.org/w/index.php?title=Wikipedia:Grundprinzipien&diff=next&oldid=82910952
Comment 7 Kunal Mehta (Legoktm) 2013-10-05 04:51:51 UTC
It looks like this bot is running in autonomous mode with -force option enabled. You should not use this option but -cleanup instead. This behavior is a crossnamespace conflict starting on the article namespace on one of the remaining sites. I guess a not registered \(this means neighter mw nor pwb\) namespace alias is the point. fi-wiki is on the cross-namespace exception list for article namespace and still remaining. This is indeed a well known bug. But the best solution is not to use -force for namespaces or disambiguation conflicts.
Comment 8 Kunal Mehta (Legoktm) 2013-10-05 04:51:53 UTC
- **priority**: 8 --> 5
Comment 9 Amir Ladsgroup 2014-07-25 08:03:53 UTC
bot ops shouldn't run interwiki.py autonomous mode with -force option enabled. the only thing needed is crashing the code when both are enabled.
Comment 10 Ricordisamoa 2014-07-25 20:57:25 UTC
"correct interwikis in"... ?!?
Comment 11 Amir Ladsgroup 2014-07-25 21:00:48 UTC
I don't know where it came from!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links