https://bugzilla.wikimedia.org/show_bug.cgi?id=64815
Bug ID: 64815
Summary: Modify category.py to also update Wikidata on category
rename
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: category.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: maarten(a)mdammers.nl
Web browser: ---
Mobile Platform: ---
At the moment when a category gets renamed the bot creates a new category and
moves all the contents there. This creates a lot of disconnected wikidata
items. See
https://www.wikidata.org/wiki/User:Pasleim/Items_for_deletion/Category for a
list.
What the bot should do:
1. Create the new category
2. Check if the old category is connected to a Wikidata item.
3. If that's the case update the sitelink to the new item
4. If the label in the language of the category is the same as the old category
name, update that to the new category name
5. Start moving contents as usual
--
You are receiving this mail because:
You are the assignee for the bug.