jayvdb created this task.
jayvdb claimed this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Steinsplitter, Aklapper.
TASK DESCRIPTION
commonscat has a dict `ignoreTemplates` with some entries as tuples like:
```
ignoreTemplates = {
...
'eo': [u'Commons',
(u'Projekto/box', 'commons='),
(u'Projekto', 'commons='),
(u'Projektoj', 'commons='),
(u'Projektoj', 'commonscat=')],
...
```
The method skipPage is supposed to ignore the page if the template exists
with the mentioned parameter name.
However the logic only compares the first parameter of the template in the
page against that the mentioned parameter name.
The commonscat logic for this dates back to 2008 (901e48d39).
TASK DETAIL
https://phabricator.wikimedia.org/T106952
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, Steinsplitter, pywikibot-bugs-list, jayvdb, Malyacko, P.Copp
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs