Hi all,
I am writing a little application to make edits on (Italian) Wikipedia using OAuth. I use in particular flask_mwoauth[1].
This tool is intended to insert "wikipedia" tags in OpenStreetMap and coordinates in Wikipedia.
== A Little Context == The Italian OpenStreetMap community is very eager about collaborating with Wikipedia, especially in the last months when an Italian OpenStreetMap contributor (User:Groppo) created this tool: Wikipedia-tags-in-OSM http://geodati.fmach.it/gfoss_geodata/osm/wtosm/index.html
As you can imagine from its name this tool was born with the idea of helping OSM user to tag objects in OSM with the corresponding wikipedia=* tag (more info about the "wikipedia" tag in OSM here[1]). The source code (GPL) is here: https://github.com/simone-f/wikipedia-tags-in-osm
The idea is based on a tool by User:Kolossos from de.wiki[2] which does something similar (but without several features, this OAuth thing being one of them) (not secondarily, at least for my point of view, that tool is in PHP, a language I don't know very much so I am much more happy of contributing to a Python project).
I have contributed to the tool in the past weeks and, since the tool also signal when an object is tagget is OSM but it has no coordinates on Italian Wikipedia (those are the articles with a little purple (W) I wanted to make the process of adding coordinates from OSM to Wikipedia easier.
Now if you click on the little (W) you see a popup explaining what you have to do, instead here's what I have done so far as I told it to the Italian OSM community: https://lists.openstreetmap.org/pipermail/talk-it/2014-January/040981.html (the e-mail is in Italian but I think the screenshots are understandable)
I need to polish it and fix several little (and not-so-little) details, but the core of the idea is there.
== The Problem == So for now I have two consumers registered: both on mediawiki.org. One is for my first test and I have called it test-app, it allows only to make edits on mediawiki.org, the other is called wtosm and allows editing of it.wikipedia.org
Now I have shared the code of my contribution here (it's also in the e-mail above, but here's again the link): https://github.com/CristianCantoro/wikipedia-tags-in-osm/tree/wikimap
Of course I am not sharing the consumer token and secret but I was wondering: if anybody wants to contribute to code of the project how they should proceed? As it is now it seems that they need to register their own consumer to get the keys? This seems a little illogic as a process, to me.
Do you have any idea of what is The Right Way(TM) to do this?
Thank you in advance.
Cristian