Difference between revisions of "Main Page"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
== What is it == | == What is it == | ||
− | Mediawiki's have a built in API see the [http://mediawiki-japi.bitplan.com/mediawiki-japi/api.php Mediawiki API of this site] | + | The [https://www.mediawiki.org/wiki/MediaWiki Mediawiki]-Japi is just another [https://www.mediawiki.org/wiki/API:Main_page Mediawiki API] for Java. |
+ | |||
+ | Mediawiki's have a built in API see the [http://mediawiki-japi.bitplan.com/mediawiki-japi/api.php Mediawiki API of this site]. | ||
To access such an API via Java a Mediawiki API Java Client library is needed. | 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. | + | 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 to communicate. This interface 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 == | == How to get it == |
Revision as of 12:01, 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 to communicate. This interface 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