- Aug 02, 2019
-
-
Adam Williamson authored
The `commands` line was accidentally(?) removed entirely in 57f716ed, so tox no longer actually ran any tests (only flake8). This restores it, with the codestyle bit removed obviously. It also fixes two lines where a tab was used instead of spaces. Signed-off-by:
Adam Williamson <awilliam@redhat.com>
-
Dan Michael O. Heggø authored
Per #223
-
Adam Williamson authored
We switched to pycodestyle then flake8 recently, but one stray reference to pep8 was left in this doc file. Signed-off-by:
Adam Williamson <awilliam@redhat.com>
-
Marc Trölitzsch authored
-
Marc Trölitzsch authored
-
- Jun 10, 2019
-
-
Dan Michael O. Heggø authored
Python 3.4 is EOL and support for it has been removed by the requests package that we depend on.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Orion Poplawski authored
-
Orion Poplawski authored
-
- Apr 11, 2019
-
-
Marc Trölitzsch authored
-
marcfrederick authored
-
- Feb 17, 2019
-
-
Dan Michael O. Heggø authored
Breaking change: Remove the `expandtemplates` and `diffto` parameters from the `Site.revisions()` method as these were deprecated in MediaWiki 1.30 and removed in 1.32.
-
Dan Michael O. Heggø authored
The rvexpandtemplates parameter has been removed, but we can use action=expandtemplates instead.
-
- 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.
-