|mvs login||Allows the user to login to the Mediawiki server using an existing login and password for that server. After calling login all commits from the same working directory will be logged as from the logged-in user.|
Updates the specified file[s] with content from the Mediawiki server. If a
file does not exist it is created and populated with the current online
version. If there is no online version, the file either created and left
blank, or just left as it is. If there is content in both the specified
file and in the corresponding Wiki page, an attempt is made to merge the
two, line by line. Files which are the same as the server version are
If no filenames are given on the command line, all visible files with the .wiki extension are processed.
Conflicting changes to a given line are detected on the basis of the date of the most recent update of the local file and date of the most recent change to the online Wiki page. If a line has changed in both the online page and the local file it is flagged as a conflict, as in CVS, but with a slightly different syntax:
mvs update reports the status of files which it touches to STDERR with a letter indicating the file status, and then name of the file, again like CVS. The status letters are:
Commits any changes in the specified local file to the Wiki site. A check
is made first to make sure that there are no changes on the server more
recent than the most recent update. Nothing will be comitted if the file
and server version are identical.
When running mvs commit you must use the -m flag to send a commit message to the Mediawiki server. e.g.:
|preview||This command functions identically to mvs commit, except that nothing is actually committed. Instead, the file is uploaded and the Mediawiki server sends back a formatted preview. The -m flag is optional. If you set the MVS_BROWSER environmental variable to the path and filename of your favorite browser, mvs will launch it with the preview page.|
This command removes any local version reference files relating to
pages youve deleted.
Any additional arguments are taken as local filenames to be processed. The local filename of a given Mediawiki page will be the same as its URL encoded name with the extension .wiki. If no arguments are given then any filenames with the wiki extension and under the current directory are processed.
Display usage information.
Print information about known Mediawiki servers, then exit.
Causes the command to be quiet. Informational messages are suppressed.
Specifies a username for mvs login.
Specifies a password for mvs login.
The language code the wiki server uses to differentiate between language versions.
A commit message for mvs commit. Use this to explain the nature of your changes.
Same as -m
Choose whether to mark change as a minor edit. The default is to mark changes as minor if the Mediawiki user profile is set to do so by default. Use this when committing a change with mvs commit or previewing with mvs preview.
Same as --minor yes.
Choose whether to add the edited page to your watchlist. Specifying keep will maintain the current watched status. The default is to watch the page if it is already being watched, or if the Mediawiki user profile is set to do so by default. Use this when committing a change with mvs commit or previewing with mvs preview.
Same as --watch yes.
The path on the given host to the Mediawiki script. This defaults to wiki/wiki.phtml which is correct for a vanilla install of Mediawiki 1.4.x.
Verbose. If this is set mvs will give you lots of extra information about what its doing. The -q flag overrides this.
The browser you prefer to use for previewing changes.
A proxy server to use (if any), expressed as a standard URL, something like this:
This is an early version of this program. Future versions may have major differences which will effect your ability to use them interchangeably with this one. In particular the initial command arguments may become options and the handling of conflicts might change dramatically.
Please submit bug reports to the CPAN bug tracker at <http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Mediawiki-Client>.
There is a discussion list. You can subscribe or read the archives at: <http://www.geekhive.net/cgi-bin/mailman/listinfo/www-mediawiki-client-l>
Mark Jaroski <firstname.lastname@example.org> Bernhard Kaindl <email@example.com> Improved error and usage messages. Oleg Alexandrov <firstname.lastname@example.org>, Thomas Widmann <email@example.com> Bug reports and feedback. Adrian Irving-Beer <firstname.lastname@example.org> Preview support, export support for multi-page update, more minor and watch settings, and bug reports.
X Copyright 2004-2005, Mark Jaroski
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 517: You forgot a =back before =head2 Around line 633: alternative text http://www.cvs.org contains non-escaped | or / Around line 637: =item outside of any =over Around line 652: You forgot a =back before =head1 Around line 654: Non-ASCII character seen before =encoding in X. Assuming ISO8859-1
|perl v5.20.3||MVS (1)||2006-06-11|