write an interwiki map loader
completed by: Michele Orrù
mentors: Alexander Schremmer, ReimarBauer, Thomas Waldmann, Ronny Pfannschmidt
Write an interwiki map file (intermap.txt) loader that reads the file and returns a python dict.
In moin2 the wikiconfig value "interwiki" is now just a dict. Thus we need a loader returning a python dict for people who want to load the file (intermap.txt).
Note: your code should also be able to process a unicode object (instead of a file) as input.
You need to write the code implementing the functionality, a unit test testing it and some docs for admins showing how to use it from the wikiconfig.
Deliverables: a patch or changeset.
python, py.test, rst
You can discuss this issue in the MoinMoin wiki: http://moinmo.in/EasyToDo/write%20a%20interwiki%20file%20%28intermap.txt%29%20-%3E%20dict%20loader