mediawiki
Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 17 January 2010
Index
Return to Main Contents
NAME
mediawiki - filter to get/put WikiPedia page
SYNOPSIS
edrc/lib/mediawiki
[
-h
]
mediawiki
-a
{
put
|
get
}
-u url
-p wikipage
[
-s section
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
get/put MediaWiki pages from/to a MediaWiki server. The communication
does not need the MediaWiki API (
api.php
), therefore also MediaWiki servers running on older versions then 1.13
are supported.
OPTIONS
- -h
-
usage message.
- -a
-
action:
-
- put
-
put data stream to a MediaWiki page.
- get
-
get data stream from MediaWiki page and print it to
stdout.
- -u url
-
Mediawiki URL. Example:
http://acme.ch/wiki.
- -p page
-
MediaWiki page below the
url.
- -s section
-
section number within the MediaWiki
page.
ENVIRONMENT
- $MEDIAWIKI_USER
-
user to connect to MediaWiki server.
- $MEDIAWIKI_PASSWD
-
password of connection user.
EXIT STATUS
- 0
-
no error.
- 1
-
could not log on to
url
specified with user
user
using the
password.
- 2
-
errors while loading data to the
url.
- 4
-
Usage printed.
FILES
-
EXAMPLES
-
SEE ALSO
edrcintro(1),
vsdfml(3),
http://www.mediawiki.org
NOTES
-
BUGS
-
AUTHOR
mediawiki was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2010
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:53:45 GMT, August 28, 2024