matej_suchanek added a comment.

harvest_template.py should have an option to create an item for the processed page if there does not exist one.

See the patch (it needs to have two other major changes merged).

Also, harvest_template.py should have an option to skip (to not edit) some item if it contains some claim. Sometimes list articles are mixed among normal articles in common catrgories and contains the needed templates; in such cases it's needed to skip the items with Q13406463.

See T137842: Generators -onlyif / -onlyifnot should be able to filter pages (not only items).


TASK DETAIL
https://phabricator.wikimedia.org/T170991

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matej_suchanek
Cc: matej_suchanek, gerritbot, Aklapper, XXN, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Lewizho99, Maathavan, Ricordisamoa
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to