[clam-devel] Editing mediawiki with git

David García Garzón david.garcia at upf.edu
Thu Jun 12 18:29:19 PDT 2014


Guys, i just found a nice git add-on that might ease editing the clam
wiki. You can install it on debian/ubuntu with:

	sudo apt-get install git-mediawiki

Once you do that you can execute:

	git clone  mediawiki::http://clam-project.org/w clam-wiki

Since 3k4 revisions are a quite long download and the wiki api and the
server are quite slow, you can avoid the history with:

	git clone -c remote.origin.shallow=true
mediawiki::http://clam-project.org/w clam-wiki

Before you push you must set the wiki user.

	git config remote.origin.mwLogin MyUser


David.



More information about the clam-devel mailing list