Last modified: 2013-10-14 14:18:56 UTC
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
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
- **labels**: 745455 --> interwiki
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.
-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.
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 :-\)
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
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.
(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.