git-remote-mediawiki: factoring code between git-remote-mediawiki and Git::Mediawiki
commit192f7a080469ea3e7a702f04e08ba7e709c0b3c3
authorBenoit Person <benoit.person@ensimag.fr>
Thu, 4 Jul 2013 20:38:58 +0000 (4 22:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jul 2013 15:56:00 +0000 (8 08:56 -0700)
tree0720806fc725680d8c06ed6a9aef0d2ed5fc4e4c
parentc7956f90844280d477fefb978ebe0682fab006fb
git-remote-mediawiki: factoring code between git-remote-mediawiki and Git::Mediawiki

For now, Git::Mediawiki contains nothing.

This first patch moves some of git-remote-mediawiki.perl's factorisable code
into Git::Mediawiki. In the same time, it removes the side effects of that code
and renames the fucntions and constants moved to expose a better API.

Signed-off-by: Benoit Person <benoit.person@ensimag.fr>
Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/mw-to-git/Git/Mediawiki.pm
contrib/mw-to-git/git-remote-mediawiki.perl