Changelog

Here you can find the full developer API for the MediaWikiAPI project.

Contents:

Version 1.2

  • The Config allows to specify the API url. This makes the client reusable for other Mediawiki installs with the same API.
  • Move to the poetry packaing and dependencies management tool
  • Add typing and mypy check
  • Format the code and use the formatting checks

Version 1.1.6

  • Add support for Python 3.9, 3.10 and 3.11

Version 1.1.5

  • Fix the bug with pip install on Windows
  • Fix setup.py to not fail if file doesn’t exist

Version 1.1.4

  • Split requirements.txt and upgrade dependencies versions.
  • Add support for python 3.7
  • Add infobox property to wikipediapage class

Version 1.1.3

  • Add category member query support by PR #24
  • Add backlinks to WikipediaPage PR #22
  • Fix missing self reference PR #11 by @danielunderwood
  • Fix dependencies installable from setup.py PR #12 by @danielunderwood
  • Fix the hangs of the continuing queries PR #21

Version 1.1

  • Breaking change - add MediaWikiAPI class, now you can have more than one api access point with different configurations (Config instances). MediaWikiAPI class contains all the mediawikiapi function from version 1.0. The Config class cloud be pass as parameter during initialization.
  • Support python 2
  • Rename Configuration class to Config, add language field
  • Config().get_api_url now accept language parameter
  • Add timeout for requests, field in Config class called timeout (in seconds).
  • Makes the pagepropsof a wikipedia page accessible PR #147 from @goldsmith repo.
  • Fix suggestion, issue #108 by PR #131 from @goldsmith repo.
  • Fix problem with hidden files in the article PR #132 @goldsmith repo.
  • DisambiguationError contains now information about title and url PR #92 from @goldsmith repo.
  • Fix issue where pageid request => redirect raises error PR #165

Version 1.0

  • Fork Wikipedia
  • Add language validation for mediawikiapi.set_lang
  • Add lang title method to WikipediaPage
  • Add re-usage the same requests session
  • Fix installing error with version
  • Fix WikipediaPage.sections
  • Fix mock data
  • Refactoring: seperate Language and Configuration classes

Indices and tables