Skip to content
/ jwiki Public

πŸ“– A library for effortlessly interacting with Wikipedia/MediaWiki

License

Notifications You must be signed in to change notification settings

fastily/jwiki

Folders and files

NameName
Last commit message
Last commit date
Sep 22, 2017
Sep 22, 2017
Dec 25, 2016
Sep 11, 2017
Aug 30, 2016
Aug 20, 2017
Sep 22, 2017
Sep 22, 2017
Jun 20, 2017
Aug 21, 2016
Sep 8, 2016

Repository files navigation

jwiki

Build Status JDK-1.8+ MediaWiki 1.27+ License: GPL v3

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

Download

jwiki is available via bintray/jcenter

Maven:

<dependency>
  <groupId>fastily</groupId>
  <artifactId>jwiki</artifactId>
  <version>1.3.0</version>
  <type>pom</type>
</dependency>

Gradle:

compile 'fastily:jwiki:1.3.0'

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.