Bugs item #3414669, was opened at 2011-09-27 12:50 Message generated for change (Comment added) made by hiw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3414669...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: interwiki Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: hiw (hiw) Assigned to: Nobody/Anonymous (nobody) Summary: interwiki.py removing page text
Initial Comment: Following edit on NL-disamb. page, the page got emptied, only the interwiki link remained. Interwiki.py should not have touched the page in the first place, since the interwiki link was already set earlier.
Diff-link: http://nl.wikipedia.org/w/index.php?title=Blankenbach&diff=next&oldi...
Active Python on Microsoft Windows XP [Version 5.1.2600]
Pywikipedia [http] trunk/pywikipedia (r9558, 2011/09/25, 20:30:54) Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: hiw (hiw)
Date: 2011-09-28 19:58
Message: Can you force the script to use API to get the page text?
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2011-09-28 12:47
Message: I did some more testing, using python interwiki.py -lang:de -page:Blankenbach%20%28Begriffskl%C3%A4rung%29 -async -cleanup -auto -async
note that these findings are not necessarily true for running on full auto...
in this setup, the bot ALWAYS uses special:export to get page text. It does use the API to write the pages. It only retrieves the pages ONCE, at the start of the run.
sigh.
----------------------------------------------------------------------
Comment By: hiw (hiw) Date: 2011-09-27 15:31
Message: Pffff, I believe it was:
interwiki.py -all -async -cleanup -log -auto -start:
I would think I used -ns:0 also, nut sure.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2011-09-27 13:53
Message: Question to both committer and myst: what was the exact command line you were using?
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2011-09-27 13:49
Message: Last note for tonight: quickly reviewing the diff to r9500 (2011-09-03) did not yield anything really change. Note: I did this in one bunch. Reviewing commits from the mailinglist one at a time might still be a good plan...
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2011-09-27 13:42
Message: Last three edits of interwiki.py are all quite old:
------------------------------------------------------------------------ r9407 | xqt | 2011-07-16 23:35:06 +0200 (Sat, 16 Jul 2011) | 1 line
trailing space for list elements (readability) ------------------------------------------------------------------------ r9387 | amir | 2011-07-16 12:05:50 +0200 (Sat, 16 Jul 2011) | 1 line
adding fa for exception templates ------------------------------------------------------------------------ r9308 | xqt | 2011-06-24 19:14:40 +0200 (Fri, 24 Jun 2011) | 1 line
do not follow static redirects which means do not change the target links like -noredirect does (with -cleanup option. -force removes that link - maybe this should be fixed) ------------------------------------------------------------------------
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2011-09-27 13:37
Message: This has also happened with Myst's bot on simplewiki: http://simple.wikipedia.org/w/index.php?title=Mettau%2C_Switzerland&acti...
Increasing priority, rephrased title.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3414669...
pywikipedia-bugs@lists.wikimedia.org