- Feb 23, 2017
-
-
Bryan Davis authored
In 1d617702 the Site.parse() command was changed from GET to POST. This effectively limits the amount of wikitext that can be rendered to what will fit in the URI limit of the webserver serving the MediaWiki site. We could do something really tricky to look at the size of the text argument and switch between GET and POST based on that, but it seems much simpler to just stick with POST for this action. Downstream bug: https://phabricator.wikimedia.org/T158715
-
- Dec 02, 2016
-
-
Sébastien Santoro authored
Examples should adhere to PEP-8 guidelines, as these examples not only document how to use correctly the client, but also will serve as a first exposition to Python for some contributors. Reference: https://www.python.org/dev/peps/pep-0008/
-
- Nov 10, 2016
-
-
Waldir Pimenta authored
-
- Nov 07, 2016
-
-
Bryan Davis authored
Allow sending custom headers (e.g. X-Wikimedia-Debug) with all requests by passing a dict of header data in the Site constructor.
-
- Oct 24, 2016
-
-
Waldir Pimenta authored
The issuestats service has always been quite fragile, and the badge was often a broken image. Changing to isitmaintained badge, which (appropriately enough) seems to be better maintained.
-
Waldir Pimenta authored
-
Waldir Pimenta authored
fixes #142
-
Waldir Pimenta authored
-
Waldir Pimenta authored
-
Waldir Pimenta authored
-
- Oct 23, 2016
-
-
Waldir Pimenta authored
-
Dan Michael O. Heggø authored
Closes #125
-
Dan Michael O. Heggø authored
- Most importantly, the 'protectedpage' error was missing in the list. - Improve string representation of the error.
-
Dan Michael O. Heggø authored
- When `Site.force_login` is True we can send `assert=true` with `edit` actions to have the api reject our edits if we got logged out for some reason. - Adding a new exception `AssertUserFailedError` as a subclass of `LoginError`.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
Closes #126
-
Dan Michael O. Heggø authored
New implementation of #126
-
Dan Michael O. Heggø authored
- move stuff out of while loop that doesn't need to be there - make url in one step
-
- Oct 17, 2016
-
-
Waldir Pimenta authored
-
- Oct 10, 2016
-
-
Dan Michael O. Heggø authored
Use MANIFEST.in to specify that LICENSE.md should be included in the source distribution. Fixes #140
-
- Sep 22, 2016
-
-
Nicolas Bareil authored
-
- Sep 20, 2016
-
-
Waldir Pimenta authored
otherwise the logo gets awkwardly separated from the title
-
Waldir Pimenta authored
PR #136 fixes #88
-
- Aug 23, 2016
-
-
Dan Michael O. Heggø authored
To avoid stuff like #135 from happening, make it more transparent what's going on in `List.__next__` by - replacing the check for `full=True` with `isinstance(self, GeneratorList)` - replacing the recursive call to `List.__next__` with `item = six.next(self._iter)`. This means one line of code is duplicated, but I think it's pays of in term of readability.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
Putting back an explicit reference to `List` to avoid `GeneratorList.__next__` being called.
-
- Aug 21, 2016
-
-
Waldir Pimenta authored
-
Waldir Pimenta authored
-
Dan Michael O. Heggø authored
- Remove `Page.get_expanded()` - Postpone removal of `Page.edit()` since it's a more popular method. per #130
-
Dan Michael O. Heggø authored
-
cariaso authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
- https is standard now, so no need to explicitly declare that - wrap lines around 90 chars - minor rewriting
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
to adher to 52b9d8b8
-
Lukas Juhrich authored
-
Lukas Juhrich authored
-
Lukas Juhrich authored
A lot of other line length Modifications
-