jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1282108?usp=email )
Change subject: [bugfix] Enable cc method commonsfiledesc for FILE namespace on
commons
......................................................................
[bugfix] Enable cc method commonsfiledesc for FILE namespace on commons
Bug: T425306
Change-Id: I773c3a1ae043c1ad5466f44c58d298bf5e49925a
---
M pywikibot/cosmetic_changes.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Matěj Suchánek: Looks good to me, approved
diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py
index 5481cdd..c4df676 100644
--- a/pywikibot/cosmetic_changes.py
+++ b/pywikibot/cosmetic_changes.py
@@ -1079,7 +1079,7 @@
https://commons.wikimedia.org/wiki/Commons:Tools/pywiki_file_description_cleanup
"""
if (self.site.sitename != 'commons:commons'
- or self.namespace == Namespace.FILE):
+ or self.namespace != Namespace.FILE):
return text
# section headers to {{int:}} versions
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1282108?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I773c3a1ae043c1ad5466f44c58d298bf5e49925a
Gerrit-Change-Number: 1282108
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]