Releases: mwclient/mwclient
Releases · mwclient/mwclient
Version 0.10.1
- 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 thePage
class (@RheingoldRiver: #245) - Add
Page.append(...)
andPage.prepend(...)
for appending or prepending text to a section or the whole page using theappendtext
orprependtext
API arguments (@RheingoldRiver: #232) - Add
Page.touch()
method (@RheingoldRiver: #232) - Expand the
.editorconfig
file (@marcfrederick: #228)
Version 0.10.0
Changed:
- Simplify SMW ask output structure (#173)
- Rename
__ver__
to__version__
(@marcfrederick: #218) - Add
scheme
parameter to Site and deprecated the (confusing) tuple syntaxhost=(host, scheme)
(@mtausig: #212) - Removed the deprecated
Page.edit()
method (@JustAnotherArchivist: #207) - Drop support for Python 3.4 (737e7cc)
- Change
AssertUserFailedError
to inheritMwClientError
rather thanLoginError
(ad30124) - Switch to flake8 for linting (#220)
Added:
- Add workaround for phab:T211233 (post edit cookies) (#221)
- Add
uselang
argument torevisions()
andusercontributions()
(#151)
Fixed:
- Improve user-agent format and documentation (@pyfisch: #208)
- Make
util.parse_timestamp()
always return atime.struct_time
object (@marcfrederick: #217) - Fix
requests_oauthlib
dependency to work with conda (@JohnGreeley: #227)
Version 0.9.3
- Bugfix for bug introduced in 0.9.2 related to handling the response from multi-content revisions (#199)
Version 0.9.2
- Add a new
slot
parameter toPage.text()
to support multi content revisions under MediaWiki >= 1.32. Defaults to 'main'. (#199)
Version 0.9.1
- Add
show
parameter toPage.categories()
to allow returning only hidden (show='hidden'
) or non-hidden (show='!hidden'
) categories. - Fix handling of empty intermediate responses from miser mode, #194
Version 0.9.0
- Add chunked file uploads to allow uploads of larger files #189
- Remove support for Python 3.3
Version 0.8.7
- 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)
Version 0.8.6
- Detect, warn and retry on nonce error (@cariaso: #165)
- Fix login on older versions of MediaWiki (@JohnGreeley : #166)
Version 0.8.5
- 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
frommeta=tokens
calls in order to avoidreadapideniederror
on read protected wikis.
- Remove extraneous
- Fix Semantic MediaWiki Ask call and response handling (@Ubibene: #153, #156, #161)
- Pass warnings from the API to the Python logging facility (56cbad3)