Mwclient Versions Save

Python client library to interface with the MediaWiki API

v0.10.1

3 years ago
  • Fixed editing section zero (@1bakedpotato: #249)
  • Removed ex.py (@marcfrederick: #247)
  • Documentation updates (@MarcoFalke: #234, @waldyrious: #235, #246)
  • Add base_title & base_name attributes to the Page class (@RheingoldRiver: #245)
  • Add Page.append(...) and Page.prepend(...) for appending or prepending text to a section or the whole page using the appendtext or prependtext API arguments (@RheingoldRiver: #232)
  • Add Page.touch() method (@RheingoldRiver: #232)
  • Expand the .editorconfig file (@marcfrederick: #228)

v0.10.0

4 years ago

Changed:

  • Simplify SMW ask output structure (#173)
  • Rename __ver__ to __version__ (@marcfrederick: #218)
  • Add scheme parameter to Site and deprecated the (confusing) tuple syntax host=(host, scheme) (@mtausig: #212)
  • Removed the deprecated Page.edit() method (@JustAnotherArchivist: #207)
  • Drop support for Python 3.4 (737e7cc269676f978fc4008451bb48299ccc8b7c)
  • Change AssertUserFailedError to inherit MwClientError rather than LoginError (ad3012416c44b3305440c83dc45a5e596b896ccf)
  • Switch to flake8 for linting (#220)

Added:

  • Add workaround for phab:T211233 (post edit cookies) (#221)
  • Add uselang argument to revisions() and usercontributions()(#151)

Fixed:

  • Improve user-agent format and documentation (@pyfisch: #208)
  • Make util.parse_timestamp() always return a time.struct_time object (@marcfrederick: #217)
  • Fix requests_oauthlib dependency to work with conda (@JohnGreeley: #227)

v0.9.3

5 years ago
  • Bugfix for bug introduced in 0.9.2 related to handling the response from multi-content revisions (#199)

v0.9.2

5 years ago
  • Add a new slot parameter to Page.text() to support multi content revisions under MediaWiki >= 1.32. Defaults to 'main'. (#199)

v0.9.1

5 years ago
  • Add show parameter to Page.categories() to allow returning only hidden (show='hidden') or non-hidden (show='!hidden') categories.
  • Fix handling of empty intermediate responses from miser mode, #194

v0.9.0

5 years ago
  • Add chunked file uploads to allow uploads of larger files #189
  • Remove support for Python 3.3

v0.8.7

6 years ago
  • Preserve ordering of JSON results (@JohnGreeley: #170)
  • setup.py: require pytest-runner only when necessary (@bkuhls: #180)
  • include tests in source package (#182)
  • raise InvalidPageTitle when requesting a page with an invalid title (@automatist: #183)

v0.8.6

6 years ago
  • Detect, warn and retry on nonce error (@cariaso: #165)
  • Fix login on older versions of MediaWiki (@JohnGreeley : #166)

v0.8.5

7 years ago
  • Fetch login token using the tokens module for MediaWiki >= 1.27 (@ubibene and @danmichaelo: #149)
    • Remove extraneous continue parameter from non-query calls
    • Remove userinfo from meta=tokens calls in order to avoid readapideniederror on read protected wikis.
  • Fix Semantic MediaWiki Ask call and response handling (@ubibene: #153, #156, #161)
  • Pass warnings from the API to the Python logging facility (56cbad3)

v0.8.4

7 years ago
  • Send parse requests via POST (@bd808: #147)