[clam-devel] Editing mediawiki with git

Pedro pederindi at gmail.com
Sat Jun 14 13:06:16 PDT 2014


Interesting one,
this implies that I can "git clone" the wiki? (very powerful tool)

On Fri, Jun 13, 2014 at 3:29 AM, David García Garzón
<david.garcia at upf.edu> wrote:
> 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.
> _______________________________________________
> clam-devel mailing list
> clam-devel at lists.clam-project.org
> http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org


More information about the clam-devel mailing list