Difference between revisions of "Mvs"

From Christoph's Personal Wiki
Jump to: navigation, search
Line 4: Line 4:
 
== Basic usage ==
 
== Basic usage ==
 
* <tt>login</tt> &mdash; Login to wiki:
 
* <tt>login</tt> &mdash; Login to wiki:
  % '''mvs''' login -d ''www.yoururl.com'' -u ''Bot'' -p "''your_password''" -w "''/index.php''"
+
  % mvs login -d ''www.yoururl.com'' -u ''Bot'' -p "''your_password''" -w "''/index.php''"
  
 
* <tt>up/update</tt> &mdash; Fetch one or more working files:  
 
* <tt>up/update</tt> &mdash; Fetch one or more working files:  
  % '''mvs''' update ''Foo.wiki'' ''Bar.wiki''
+
  % mvs update ''Foo.wiki'' ''Bar.wiki''
  
 
* <tt>preview</tt> &mdash; Preview changes (does not commit anything):
 
* <tt>preview</tt> &mdash; Preview changes (does not commit anything):
  % '''mvs''' preview -m "''commit message''" ''Foo.wiki''
+
  % mvs preview -m "''commit message''" ''Foo.wiki''
  
 
* <tt>com/commit</tt> &mdash; Commit (upload) changes:
 
* <tt>com/commit</tt> &mdash; Commit (upload) changes:
  % '''mvs''' commit -m "''commit message''" ''Foo.wiki''
+
  % mvs commit -m "''commit message''" ''Foo.wiki''
 +
 
 +
== See also ==
 +
* [http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot Using the python wikipediabot]
 +
* [http://search.cpan.org/~esummers/WWW-Wikipedia-1.9/ WWW::Wikipedia] &mdash; automated interface to the Wikipedia.
 +
* [http://en.wikipedia.org/wiki/User:Yurik/Query_API Wikipedia Query API]
 +
* [http://meta.wikimedia.org/wiki/Xml2sql xml2sql] &mdash; converter tool for xml dump.
  
 
== External links ==
 
== External links ==

Revision as of 20:38, 1 September 2006

The correct title of this article is mvs. The initial letter is capitalized due to technical restrictions.

mvs is a command line Mediawiki client.

Basic usage

  • login — Login to wiki:
% mvs login -d www.yoururl.com -u Bot -p "your_password" -w "/index.php"
  • up/update — Fetch one or more working files:
% mvs update Foo.wiki Bar.wiki
  • preview — Preview changes (does not commit anything):
% mvs preview -m "commit message" Foo.wiki
  • com/commit — Commit (upload) changes:
% mvs commit -m "commit message" Foo.wiki

See also

External links