Development/Docs/MVS
From Mandriva Community Wiki
Original mail : http://archives.mandrivalinux.com/cooker/2006-12/msg01039.php
Those of you familiar with wikipedia may know that a perl command line client called mvs was created by Mark Jaroski ( http://search.cpan.org/~markj/WWW-Mediawiki-Client/bin/mvs ).
In order to use it on this wiki, here is a simple howto
First, install mvs, from perl-WWW-Mediawiki-Client.
urpmi perl-WWW-Mediawiki-Client
Then, create a directory to hold the checkout
mkdir ~/checkout/mvs/mandriva/ cd ~/checkout/mvs/mandriva/
Then, you have to login on the wiki :
mvs login -d mdv.vmlinuz.ca -u Login -p password -w "/index.php"
And checkout the page you want to edit :
# do not forget the extension ".wiki" $ mvs up Development/Howto/Maintainer.wiki Doing up Development/Howto/Maintainer.wiki with host: mdv.vmlinuz.ca and lang: en U Development/Howto/Maintainer.wiki
Then you can modify with vim, or what you want :
$ vim Development/Howto/Maintainer.wiki
And finaly, you can send it :
$ mvs commit -m "ue is deprecated, remove it from the doc" Development/Howto/Maintainer.wiki Doing commit Development/Howto/Maintainer.wiki with host: mdv.vmlinuz.ca and lang: en $
and that's it : http://mdv.vmlinuz.ca/index.php?title=Development%2FHowto%2FMaintainer&diff=3046&oldid=2516