jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/375606 )
Change subject: APISite.logevents: Do not ignore the namespace if it is 0 ......................................................................
APISite.logevents: Do not ignore the namespace if it is 0
Bug: T174875 Change-Id: Icd3ea445a08fb88c104663952c4d9afd2a520739 --- M pywikibot/site.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved Zoranzoki21: Looks good to me, but someone else must approve
diff --git a/pywikibot/site.py b/pywikibot/site.py index 67a782e..4a4dba6 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -4544,7 +4544,7 @@ legen.request["leend"] = end if reverse: legen.request["ledir"] = "newer" - if namespace: + if namespace is not None: legen.request["lenamespace"] = namespace if tag: # Supported in version 1.16+; earlier sites will cause APIError
pywikibot-commits@lists.wikimedia.org