git-remote-mediawiki: send "File:" attachments to a remote wiki
authorNGUYEN Kim Thuat <Kim-Thuat.Nguyen@ensimag.imag.fr>
Wed, 27 Jun 2012 09:10:18 +0000 (11:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2012 21:18:02 +0000 (14:18 -0700)
commitb3d985959869d3f2fb1901639326eb64c2e3f726
tree769865518652f3499a195092764a810ff052a300
parent721a533f8c9b152b4510569b3b486437d179c773
git-remote-mediawiki: send "File:" attachments to a remote wiki

The current version of the git-remote-mediawiki supports only import and
export of plain wiki pages. This patch adds the functionality to export
file attachments (i.e. the content of the File: MediaWiki namespace),
which are also exposed by MediaWiki API.

This requires a recent version of MediaWiki::API (Version 0.37 works.
Version 0.34 doesn't).

Signed-off-by: Pavel Volek <Pavel.Volek@ensimag.imag.fr>
Signed-off-by: NGUYEN Kim Thuat <Kim-Thuat.Nguyen@ensimag.imag.fr>
Signed-off-by: ROUCHER IGLESIAS Javier <roucherj@ensimag.imag.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/mw-to-git/git-remote-mediawiki