Difference between revisions of "Main Page"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
== Why Mediawiki-Japi? == | == Why Mediawiki-Japi? == | ||
− | Mediawiki-Japi is built around the XML/Json messages that are used | + | Mediawiki-Japi is built around the XML/Json messages that are used by the Mediawiki API. The API changes frequently so the structure of the Java-code needs to stay up-to-date. This is achieved by |
# generating the Java code from the XML message structure see [[jaxbgenerator]] | # generating the Java code from the XML message structure see [[jaxbgenerator]] | ||
# testing the Java code against [[ExampleWikis]] | # testing the Java code against [[ExampleWikis]] |
Revision as of 12:02, 4 January 2015
What is it
The Mediawiki-Japi is just another Mediawiki API for Java.
Mediawiki's have a built in API see the Mediawiki API of this site.
To access such an API via Java a Mediawiki API Java Client library is needed.
See https://www.mediawiki.org/wiki/API:Client_code#Java for a list of such clients. Mediawiki-Japi is another one.
Why Mediawiki-Japi?
Mediawiki-Japi is built around the XML/Json messages that are used by the Mediawiki API. The API changes frequently so the structure of the Java-code needs to stay up-to-date. This is achieved by
- generating the Java code from the XML message structure see jaxbgenerator
- testing the Java code against ExampleWikis
How to get it
Where to find more info
github repository
- repository: https://github.com/WolfgangFahl/Mediawiki-Japi
- issues: https://github.com/WolfgangFahl/Mediawiki-Japi/issues