Releases: mwclient/mwclient
Releases · mwclient/mwclient
Version 0.8.3
Version 0.8.2
- Support passing custom parameters to Requests (@tosher: #105)
- Add
end
argument to PageList (@AdamWill: #114) - Add
CREDITS.md
(@waldyrious: ebab0e0) - Add
reqs
requests_args
argument toSite.__init__
(@tosher: #105, #119) - Make examples Python 3 compatible (@waldyrious: 3345d57)
- Remove unused argument
prop
fromSite.allimages()
(524d751) - Fix argument
prop
forSite.blocks()
(a148d30) - Add OAuth (#115)
- Add
assert=user
whenforce_login=True
, raiseAssertUserFailedError
(subclass ofLoginError
) when assert fails (#125) - Update user guide.
- Drop Python 2.6 support (@lukasjuhrich: #134)
- Refactoring & code style (@lukasjuhrich: #129, #131)
- Fix
.ask()
method to handle continuation (@cariaso: #132) - Remove deprecated method
Page.get_expanded()
(#130) - Add logo (@waldyrious, @c-martinez: #88, #136)
- Add SSL client certificate as authentication mechanism (@nbareil: #139)
- Use GET over POST where possible (still POST is the default, but GET is used where it's known to work) (@cariaso, @danmichaelo: #126)
Version 0.8.1
Version 0.8.0
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 thePage.save()
method. The section number is no longer part of thePage
state, soPage.save()
no longer makes use of a section parameter earlier passed intoPage.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 supportdiffto
(@rdhyee: #84) - Use https as default (#70)
Version 0.7.2
- 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 ofPage
(@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
- 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
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 toPage.text()
. WhilePage.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 lastPage.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 callingPage.text(expandtemplates=True)
Detailed changelog:
Changes:
- @btongminh: Allow setting both the upload description and the page content separately. 0aa748f.
- @tommorris: Improve documentation. a2723e7.
- @Waldir: Converted the repository to git and moved from sourceforge to github. #1 (also #11, #13 and #15).
- @eug48: Support for customising the useragent. 773adf9, #16.
- @eug48: Removed unused 'Request' class. 99e786d, #16.
- @danmichaelo: Support for requesting pages by their page id (site.pages[page_id]). a1a2ced, #19.
- @danmichaelo: Support for editing sections. 546f77d, #19.
- @danmichaelo: New method Page.redirects_to() and helper method Page.resolve_redirect(). 3b851cb, 36e8dcc, #19.
- @danmichaelo: Support argument action with logevents(). 241ed37, #19.
- @danmichaelo: Support argument page with parse(). 223aa0, #19.
- @kyv: Allow setting HTTP 'Authorization' header. HTTP headers. 72fc49a.
- @kyv: Add support for the ask API action provided by Semantic MediaWiki. 0a16afc.
- @danmichaelo: Quickfix for #38. 98b850b.
- @tuffnatty: Fix updating of Page.last_rev_time upon save(). d0cc7db, #41.
- @jimt, @danmichaelo: Support more arguments to list=allusers. 7cb4383, #8.
- @danmichaelo: Replace http.py with the Requests library. 593cb44, #45.
- @jaloren, @danmichaelo: Don't crash if edit response does not contain timestamp. bd7bc3b, 0ef9a17, #57.
- @danmichaelo: Retry on internal_api_error_DBQueryError. d0ce831.
- @danmichaelo: Rename Page.edit() to Page.text(). Note that text is now a required parameter to Page.save(). 61155f1, #51.
- @danmichaelo: Add expandtemplates argument to Page.text() and deprecate Page.get_expanded() 57df5f4.