Skip to content

Releases: mwclient/mwclient

Version 0.8.3

10 Nov 21:57
Compare
Choose a tag to compare
  • Support sending custom headers with all requests (@bd808: #143)

Version 0.8.2

23 Oct 19:42
v0.8.2
Compare
Choose a tag to compare

Version 0.8.1

05 Feb 21:50
Compare
Choose a tag to compare

Version 0.8.0

05 Feb 21:41
Compare
Choose a tag to compare

Upgrade notices / breaking changes:

  • HTTPS is now used as default. See the user guide for info about how to connect using HTTP.
  • Saving a section rather than the full page can now only be achieved by passing in the section parameter explicitly to the Page.save() method. The section number is no longer part of the Page state, so Page.save() no longer makes use of a section parameter earlier passed into Page.text(). A deprecation warning was added in 0.7.2.

Changes:

  • Add support for Python 3 (#52)
  • Fix broken Image.download() method (038b222)
  • Remove implicit use of the Page.section attribute (which was deprecated in 0.7.2) when saving (@AdamWill: #81)
  • Cache page text until next edit operation (@AdamWill: #80)
  • Add Site.revisions() method and support diffto (@rdhyee: #84)
  • Use https as default (#70)

Version 0.7.2

18 Jul 19:58
Compare
Choose a tag to compare
  • Add continue parameter to all queries (@c-martinez: #73)
  • Fix prefixing of PageList API argument passing to GeneratorList (@AdamWill: 059322e)
  • Add toponly parameter for recentchanges (@itkach: #78)
  • Configure default logger (@Gui13: #82)
  • Add support for querying the CheckUser log (@lfaraone: #86)
  • Expose pageid, contentmodel, pagelanguage, restrictiontypes as attributes of Page (@PierreSelim: #89)
  • Fix 'New messages' flag (hasmsg) (@Pathoschild: #90)
  • Don't retry on connection error during site init (#85)
  • Deprecate implicit use of Page.section when saving, to prepare for the merge of #81 (4d8abc4)
  • More intuitive error message when an invalid JSON response is received (#79)

Version 0.7.1

19 Dec 06:48
Compare
Choose a tag to compare
  • Implement Site.allimages() (@jimt: #62)
  • Support new token handling system (#64)
  • Update email method to use API (e9572e1)
  • Use 'simplified' continuation (#66)
  • Use Basic/Digest Auth from Requests (8bec560)
  • Fix so maxlag
    is handled correctly
  • Fix filtering of page links by namespace (@c-martinez: #72)
  • Fix uploading files with non-ascii characters in filenames (#65)

Version 0.7.0

19 Dec 06:50
Compare
Choose a tag to compare

Upgrade notices:

  • This version requires minimum Python 2.6 and MediaWiki 1.16. Support for Python 2.4–2.5 and MediaWiki 1.11–1.15 has been dropped.
  • The Page.edit() method has been renamed to Page.text(). While Page.edit() is deprecated, it will be available for a long time. The old Page.text attribute, that used to store a copy of the wikitext from the last Page.edit() call, has been removed entirely. The readonly argument has also been removed (it was never really implemented, so it acted only as a dummy argument before the removal).
  • The Page.get_expanded() method has been deprecated in favour of calling Page.text(expandtemplates=True)
    Detailed changelog:

Changes: