- Dec 12, 2018
-
-
Cody Logan authored
somtimes -> sometimes if do -> if you do
-
- Dec 09, 2018
-
-
Dan Michael O. Heggø authored
Storing the message in args[0] seems more Pythonic.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
While OAuthAuthorizationError inherited LoginError, they did not really share the same interface as they didn't receive the same args.
-
Dan Michael O. Heggø authored
- Make `AssertUserFailedError` inherit `MwClientError` rather than `LoginError`, since it doesn't have the same args. - Move message into args[0], which is more standard Python.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
- Nov 22, 2018
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
cpettet authored
This is what is imported at the beginning of the examples. This could also be done by changing the import to 'import mwclient' rather than 'from mwclient import Site'. Neither seems more correct but I have tried to follow what seems most intended. >>> from mwclient import Site >>> site = mwclient.Site('en.wikipedia.org') Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'mwclient' is not defined vs. >>> site = Site('en.wikipedia.org') >>> page = site.pages['Greater guinea pig'] >>> text = page.text() >>> page.exists True
- Nov 09, 2018
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
- Nov 04, 2018
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
- Jul 31, 2018
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
- Jul 01, 2018
-
-
Waldir Pimenta authored
-
- Jun 28, 2018
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
- Apr 21, 2018
-
-
Dan Michael O. Heggø authored
Use chunked file uploading for files larger than 1 MB as long as we’re on MediaWiki >= 1.20.
-
- Apr 08, 2018
-
-
Dan Michael O. Heggø authored
Python 3.3 is EOL, and is failing on Travis.
-
- Feb 28, 2018
-
-
Jakub Wilk authored
-
- Jan 14, 2018
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
- Jan 11, 2018
-
-
Dan Michael O. Heggø authored
This fixes tests not being added to the source package.
-
- Nov 26, 2017
-
-
Bernd Kuhls authored
This optimizes setup.py for cases when pytest-runner is not needed, using the approach that is suggested upstream: https://pypi.python.org/pypi/pytest-runner#conditional-requirement
-
- Nov 16, 2017
-
-
Adam Williamson authored
This reverts commit 1650e0e7. Upstream restored handling of the adding_headers arg in 0.6.1. Going back to using that name means we're still compatible with any version of responses after 0.3.0, except 0.6.0. Also adjust setup.py to express this correctly.
-
- Sep 05, 2017
-
-
Waldir Pimenta authored
See https://github.com/github/markup/issues/556 for more details.
-
- Aug 11, 2017
-
-
John Greeley authored
-
- Jul 31, 2017
-
-
Dan Michael O. Heggø authored
Bumpversion cannot update the release date and trying to remember to update it manually won't work.
-
John Greeley authored
Attempting to fetch a login token will raise an APIError on older MediaWiki versions (tested on v1.20.2), so we need to catch it.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-