#JWIKI jwiki is a simple Java client library wrapping the MediaWiki Web API. It can be used by developers to create bots and tools, or to perform analytics on just about any Wiki.
##Features
- Perform actions, such as edit, delete, and upload (using chunked uploads).
- Perform queries, such as getting category members, getting links on a page, and getting template transclusions.
- Support for popular MediaWiki extensions, including CentralAuth and GlobalUsage.
##Getting Started
- Quick Start Guide
- Javadocs
- Main class: Wiki.java
- Maven/Gradle settings
###Example Code
import fastily.jwiki.core.Wiki;
//Edit a Wikipedia page by replacing its text with text of your choosing.
public class JwikiExample
{
public static void main(String[] args) throws Throwable
{
Wiki wiki = new Wiki("Username", "Password", "en.wikipedia.org"); // login
wiki.edit("Wikipedia:Sandbox", "SomeText", "EditSummary"); // edit
}
}###Dependencies
###Requirements
###License jwiki is dual licensed under the cc-by-sa-4.0 and the GPLv3. You may select the license of your choice.
##Project Objectives jwiki is intended to be a simple, reliable, and low-overhead framework for anybody seeking to make use of the MediaWiki API. Emphasis is placed on:
- Simplicity - Complex objects and functions are abstracted into the background so that anybody, regardless of Java experience, will be able to use jwiki.
- Speed - Network calls, local computation, and memory usage are optimized and kept at a minimum, so as to enhance performance and reduce overhead.
- Succinctness - Most complex API actions can be performed in jwiki using one line of local code consisting of simple objects and primitive types.
##See Also
- jwiki-extras - Experimental extensions for jwiki