Giter Site home page Giter Site logo

jwiki's Introduction

JWIKI

This is a MediaWiki API client-side library. It can be used by developers to build bots/tools and/or perform analytics on a Wiki. My goal is to create a simple, reliable, efficient, and low-overhead framework for anybody seeking to make use of the MediaWiki API.

NB: This library is under active development so files/classes/functions may move, change, and/or disappear without warning.

##Features

  • Edit and delete pages, upload files (via the chunked upload protocol)
  • Query special pages, get category members, get links on a page, get template transclusions
  • Supported MediaWiki extensions include CentralAuth and GlobalUsage.
  • Bundled with a versatile, extensible multi-threaded bot framework to quickly perform changes or analytics.
  • A flexible, extensible interface that allows advanced users to implement custom API queries.

##Dependencies JSON support is provided by JSON-java. This is bundled as a JAR archive at the top of the repository’s directory structure; use a newer version at your own discretion.

##Requirements

##Getting Started

####Sample Code

import 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("SomePage", "SomeText", "EditSummary"); // edit
   }
}

##Project Goals I designed jwiki with the following goals in mind:

  • Simple - Anybody with a beginner's knowledge of Java shall be able to use this framework. I avoid horrible things like complex custom objects and convoluted calls; this project isn't for showing off my Java skills - it's designed to save my users time and effort.
  • Speed - This framework shall emphasize performance. Time is precious so why spend it waiting for some dumb program to finish!
  • Succinct - Changes and queries shall be easy to perform. I designed this framework so API calls can be constructed with one line of code consisting of simple objects and primitive types.

jwiki's People

Contributors

fastily avatar

Watchers

James Cloos avatar Rainer Rillke avatar Steffen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.