- Installatble with PHP 8.1+
- Installable with 7.4+ (including PHP8)
- Typing added throughout
- PSR4 namespacing. Now in
Addwiki\Mediawiki\Api
- Installable with 7.3+ (including PHP8)
- Set
maxlag
parameter whenEditInfo
with maxlag is passed toAddwiki\Addwiki\Mediawiki\Api\Service\RevisionSaver::save
- No notable changes
- Initial release from new development monorepo
- All addwiki libraries now have aligned version numbers
- Require PHP 7.2+
- Fix PageGetter::getRevisionsFromResult undefined $revision['comment'] after an oversight/suppression of the edit summary. (commit)
- Make
PagePurger::purge
purgePage
objects that only have a title and no pageid (commit)
- Installable with addwiki/mediawiki-datamodel:0.8
- New parent class for all API service classes,
with protected access on
Service::$api
to make it easier to subclass any services. - File uploading improved, with the option of chunked uploading.
- Various fixes and improvements to the testing set-up and coding standards.
- Fixed dependency on addwiki/mediawiki-datamodel
- Documentation! This package now has a dedicated documentation website.
- A new NamespaceGetter service with which you can get all namespaces, or a single namespace by localised name, alias, or canonical name (#39, #41).
- A new CategoryTraverser service for descending (all levels of) category trees and either retrieving all pages or performing some action on each page.
- A new method to PagePurger for purging multiple pages at once (#36).
- All methods of the PageListGetter now continue their queries where the first request doesn't retrieve the whole result set (#31).
- Bug #40 fixed with
RevisionSaver::save()
overwriting EditInfo if null. - Integration tests: more documentation about how to run integration tests locally, and the tests are running on Travis CI.
- Lots of fixes to coding-standards and in-code documentation.
- Adds newParser method to factory
- Use the new API continuation mode
- Fix ignored bot assertion in EditInfo
- Adds ApiGenerator interface
- Adds AnonymousGenerator implementation of Generator
- Adds FluentGenerator implementation of Generator
- LogListGetter now requires mediawiki verison 1.25 or above
- PageListGetter now requires mediawiki verison 1.25 or above
- Removed ALL Options objects
- Introduces RevisionUndoer service
- Introduces UserCreator service
- Introduces FileUploader service
- Introduces ImageRotator service
- Using mediawiki-api-base 1.0
- Using mediawiki-datamodel 0.6
- Issue#8 PageListGetter methods now construct pages with a Title object rather than string
- Page(Deleter|ListGetter|Mover|Protector|Restorer), User(Blocker|RightsChanger) service methods now require an *Options object rather than a selection of parameters.
- Implemented PageListGetter::getRandom
- Removes NewEditInfo and NewRevision
- Moved basic api functionality to a separate base lib (mediawiki-api-base)
- Repos renamed to Getters
- PageGetter, RevisionSaver and UserGetter moved to the Service Namespace
- Introduces MediawikiFactory
- Introduces PageDeleter service
- Introduces PageListGetter service
- Introduces PageProtector service
- Introduces PagePurger service
- Introduces RevisionDeleter service
- Introduces RevisionPatroller service
- Introduces RevisionRollbacker service
- Introduces UserBlocker service
- Introduces UserRightsChanger service
- Introduces PageRestorer service
- Introduces RevisionRestorer service
- Correctly handle non existent users in UserGetter
- Altered everything for changed in mediawiki-datamodel
- Removed Edit << action class
- Introduces NewEditInfo and NewRevision
Initial release with the following features:
- MediawikiApi
- ApiUser
- MediawikiSession
- UsageExceptions
- PageRepo
- UserRepo
- EditSaver
- Edit << action