- 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>
-
- Feb 10, 2023
-
-
Adam Williamson authored
It seems that pytest-cov does not collect any coverage without this file. Signed-off-by:
Adam Williamson <awilliam@redhat.com>
-
Adam Williamson authored
`clientlogin()` does `self.require(1, 27)`, which needs the site instance's `version` attribute to be set, but this is usually done by `site_init()`, which is mocked out in the tests. We can fix the problem by just manually setting a sufficiently high version in the tests. Signed-off-by:
Adam Williamson <awilliam@redhat.com>
-
- Sep 22, 2021
-
-
Dylann Cordel authored
-
- 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`.
-
Dan Michael O. Heggø authored
Breaking change: Change the `Site.ask()` method to produce less nested output. Basically, change `yield {title: answer}` to `yield answer`. The title is included in the answer object after all.
-
Dan Michael O. Heggø authored
-
Marc Trölitzsch authored
-
Marc Trölitzsch authored
-
- 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.
-