jenkins-bot has submitted this change and it was merged.
Change subject: [IMPROV] APISite: Don't require a query for exturl ......................................................................
[IMPROV] APISite: Don't require a query for exturl
The MW API can easily return a list of all pages which use external links without requiring a query.
Change-Id: I1668b51490d2274b3b8e7e684d5e3bebcfa5abbd --- M pywikibot/site.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site.py b/pywikibot/site.py index 73b6a2b..552d80c 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -3609,7 +3609,7 @@ bkgen.request["bkusers"] = users return bkgen
- def exturlusage(self, url, protocol="http", namespaces=None, + def exturlusage(self, url=None, protocol="http", namespaces=None, step=None, total=None, content=False): """Iterate Pages that contain links to the given URL.