https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
Web browser: --- Bug ID: 55051 Summary: Interwiki graphs doesn't generates in "autonomous" mode Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: interwiki.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/278/ Reported by: Anonymous user Created on: 2010-12-21 19:09:12 Subject: Interwiki graphs doesn't generates in "autonomous" mode Original description: 1. Set interwiki_graph = True in user-config.py 2. Run interwiki.py to article with interwiki conflict in "auto" mode, for example with "interwiki.py -auto ru:JPEG XR" 3. As result, you get no image in directory /interwiki-graphs
Expected result: Interwiki.py should generate an image in "auto" mode.
--- Pywikipedia [http] trunk/pywikipedia (r8785, 2010/12/21, 00:11:55) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] config-settings: use_api = True use_api_login = True unicode test: ok
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- In autonomous mode not all interwiki links are gathered. If there are more than one page to the same site it stops processing since this cannot solved without operators invention. Since -autonomous is for processing a lot of pages imho it is not recommended to use it with interwiki-graph
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **labels**: 745455 --> interwiki
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I have a list of interwiki conflicts and I want to generate the appropriate images. How can I generate this list ?
My think is to use the "auto" mode. But with this issue I can't.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- -autonomous option creates a list of autonomous problems (interwiki conflicts) so you cannot solve it with that option. Try it without -auto option. I am not sure whether it plots more then one conflict network at once. Since there are a lot of depencies to -auto mode I wouldn't change the behavior in next future.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I don't need to "creates a list of autonomous problems (interwiki conflicts) ", because already I have this list ! I don't need to "solve it with that option". I just want to generate the appropriate images for some set of interwiki-conflicts. For example, I have list, where each item links to iw-conflicts: http://ru.wikipedia.org/wiki/User:VolkovBot/conflicts/w wa:Clipe (maladeye) wa:Notåre ... wuu:运河 As you can see, this list contains more than 50 items. Can I generate for "wa:Clipe (maladeye)", "wa:Notåre"... "wuu:运河" appropriate images with pywikipedia ?
When I tries to use "interwiki.py" without "auto" mode, then I gets prompt with question, what decision I want to resolve conflict. But I don't need these prompts (because list contains more than 50 items). I need images only :-)
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- If you don't use auto, you will indeed get questions. However, you can answer 'give up' directly, or use:
echo g | python interwiki.py -graph nl:Het Bloed van de Scarabae
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
--- Comment #7 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Yes, "echo g | python interwiki.py -graph nl:Het Bloed van de Scarabae" it's workaround, that solves my problem. Thank you, valhallasw ! What about this issue - I don't know, maybe you can close it. But I think it will be good idea to add a possibility to generate images in batch mode.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/feature-reque | |sts/278
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
Nemo federicoleva@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High CC| |federicoleva@tiscali.it
--- Comment #8 from Nemo federicoleva@tiscali.it --- (In reply to comment #7)
But I think it will be good idea to add a possibility to generate images in batch mode.
Oh, yes, I hate this bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55051
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|High |Normal CC| |info@gno.de
pywikipedia-bugs@lists.wikimedia.org