Hi Cristian,
We did basically the same thing with Wikimetrics. For development, we just registered a consumer that redirects to localhost:5000 and committed the consumer key and secret. Here's the relevant config file:
https://git.wikimedia.org/blob/analytics%2Fwikimetrics.git/f0aa046c401f0726a...
Let me know if you have any questions. The "production" configuration is just hidden and kept secret on the wikimetrics server.
On Mon, Jan 20, 2014 at 6:52 PM, Cristian Consonni kikkocristian@gmail.comwrote:
(sorry, I forgot the references)
2014/1/21 Cristian Consonni kikkocristian@gmail.com:
I am writing a little application to make edits on (Italian) Wikipedia using OAuth. I use in particular flask_mwoauth[1].
[...]
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
[...]
C
[1] https://github.com/valhallasw/flask-mwoauth [1bis] http://wiki.openstreetmap.org/wiki/Wikipedia [2] http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RemoteControl/Add-tags#Index...
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l