- Jan 28, 2024
-
-
Marc Troelitzsch authored
* `Iterator.next()`` has been replaced with `Iterator.__next__()` * The `object.__unicode__()` method is not used anymore * Default source encoding has changed from ASCII to UTF-8
-
- Jan 27, 2024
-
-
Alexandre Detiste authored
-
- Feb 19, 2023
-
-
Adam Williamson authored
Issue #290 gives an example of a wiki with protected pages whose protection definitions have no 'expiry' key at all. This seems strange and, on a quick through the mediawiki code, difficult to achieve, but since there's a live site out there that does it, and mediawiki *does* seem to have at least some code to handle such cases (e.g. how the expiry shows as 'indefinite' in the page information), let's handle it too, by representing this as None. Signed-off-by:
Adam Williamson <awilliam@redhat.com>
-
- May 28, 2020
-
-
Håvard Flaget Aasen authored
-
Marc Trölitzsch authored
-
- Oct 10, 2019
-
-
RheingoldRiver authored
-
- Aug 02, 2019
-
-
Dan Michael O. Heggø authored
Allow specifying `uselang` with `Page.revisions()` and `Site.usercontributions()` to get localized parsed comments with `prop=parsedcomment`.
-
- Feb 17, 2019
-
-
Dan Michael O. Heggø authored
The rvexpandtemplates parameter has been removed, but we can use action=expandtemplates instead.
-
- Nov 04, 2018
-
-
Dan Michael O. Heggø authored
-
- Jun 28, 2018
-
-
Dan Michael O. Heggø 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.
-
- Oct 23, 2016
-
-
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
New implementation of #126
-
- Aug 21, 2016
-
-
Dan Michael O. Heggø authored
- Remove `Page.get_expanded()` - Postpone removal of `Page.edit()` since it's a more popular method. per #130
-
- Jul 02, 2016
-
-
Dan Michael O. Heggø authored
-
- Sep 19, 2015
-
-
Adam Williamson authored
Store the results of page.text() operations in a simple cache dict. This avoids unnecessary remote roundtrips. Cache is cleared on each successful page.save() operation. cache argument can be set to 'False' to disable use of the cache.
-
- Mar 15, 2015
-
-
Dan Michael O. Heggø authored
-
- Nov 27, 2014
-
-
Carlos Martinez authored
-
- Nov 23, 2014
-
-
Dan Michael O. Heggø authored
Prepare for Python 3.x support - Use print function - Use compability methods from six
-
Dan Michael O. Heggø authored
Back-ported to Python 2.6 and 2.7
-
- Oct 27, 2014
-
-
Dan Michael O. Heggø authored
-
- Sep 27, 2014
-
-
Dan Michael O. Heggø authored
- This is more flexible than the `Page.get_expanded()` method, since it can be combined with the `section` argument as well, to get the expanded wikitext of a section. - Deprecating `Page.get_expanded()`. - Also fixed a very minor bug where `Page.last_rev_time` was not reset when editing new pages after having edited non-new pages. - Added more Page tests
-
- Sep 21, 2014
-
-
Dan Michael O. Heggø authored
since the method does not edit the page, but returns the text of the page. The old method name still works, but issues a DeprecationWarning. Note that DeprecationWarnings are silent by default, so we might consider to elevate it in some future version.
-
Dan Michael O. Heggø authored
-