Welcome to the addwiki documentation

The addwiki project is split into multiple libraries which can be seen below.

mediawiki-api-base

https://readthedocs.org/projects/addwiki-mediawiki-api-base/badge/?version=latest https://travis-ci.org/addwiki/mediawiki-api-base.svg?branch=master https://scrutinizer-ci.com/g/addwiki/mediawiki-api-base/badges/coverage.png?b=master https://scrutinizer-ci.com/g/addwiki/mediawiki-api-base/badges/quality-score.png?b=master https://poser.pugx.org/addwiki/mediawiki-api-base/version.png https://poser.pugx.org/addwiki/mediawiki-api-base/d/total.png

This library provides basic access to the mediawiki api. This library features simple methods allowing you to login, logout and do both GET and POST requests. This library should work with most if not all mediawiki versions due to its simplicity.

mediawiki-api

https://readthedocs.org/projects/addwiki-mediawiki-api/badge/?version=latest https://travis-ci.org/addwiki/mediawiki-api.svg?branch=master https://scrutinizer-ci.com/g/addwiki/mediawiki-api/badges/coverage.png?b=master https://scrutinizer-ci.com/g/addwiki/mediawiki-api/badges/quality-score.png?b=master https://poser.pugx.org/addwiki/mediawiki-api/version.png https://poser.pugx.org/addwiki/mediawiki-api/d/total.png

This library adds classes specific to mediawiki-core api requests.

mediawiki-datamodel

https://readthedocs.org/projects/addwiki-mediawiki-datamodel/badge/?version=latest https://travis-ci.org/addwiki/mediawiki-datamodel.svg?branch=master https://scrutinizer-ci.com/g/addwiki/mediawiki-datamodel/badges/coverage.png?b=master https://scrutinizer-ci.com/g/addwiki/mediawiki-datamodel/badges/quality-score.png?b=master https://poser.pugx.org/addwiki/mediawiki-datamodel/version.png https://poser.pugx.org/addwiki/mediawiki-datamodel/d/total.png

This library adds classes trying to replicate the internal data structures and classes of mediawiki. These are used by the api, db and dump libraries (as well as some other extensions).

wikibase-api

https://readthedocs.org/projects/addwiki-wikibase-api/badge/?version=latest https://travis-ci.org/addwiki/wikibase-api.svg?branch=master https://scrutinizer-ci.com/g/addwiki/wikibase-api/badges/coverage.png?b=master https://scrutinizer-ci.com/g/addwiki/wikibase-api/badges/quality-score.png?b=master https://poser.pugx.org/addwiki/wikibase-api/version.png https://poser.pugx.org/addwiki/wikibase-api/d/total.png

This library adds classes specific to using the wikibase api.

In Development

There are various libraries that have not yet had their first release, but have seen some development.

  • mediawiki-commands
  • wikibase-commands
  • wikimedia-commands

Other code

And there are other libraries that are in even worse state...

  • mediawiki-sitematrix-api
  • mediawiki-flow-api
  • mediawiki-services
  • mediawiki-dump

One day these will all be tied up into some sort of framework.