This task consists of cleaning up year articles and categories on Moroccan Arabic Wikipedia (arywiki), created en masse by a single user in good faith, but with several errors in spelling, formatting and categorization, as well as interlinking those pages.
Tools:
- Bot scripts (run with DarijaBot)
-- [[ https://github.com/maurusian/DarijaBot/blob/main/Task%2025%20-%20create%20cats%20from%20Wikidata/create_cats_flexible.py | Script to create and interlink categories ]] ([[ https://ary.wikipedia.org/wiki/%D9%85%D9%8A%D8%AF%D9%8A%D8%A7%D9%88%D9%8A%D9%83%D9%8A:%D8%B9%D8%B7%D8%A7%D8%B4%D8%A925.2.%D8%AE%D8%AF%D9%85%D8%A923.json | configuration for BC years ]])
-- [[ https://github.com/maurusian/DarijaBot/blob/main/Task%2014%20-%20linking%20pages%20to%20Wikidata/interlink_pages.py | Script to interlink pages by namespace ]] ([[ https://ary.wikipedia.org/wiki/%D9%85%D9%8A%D8%AF%D9%8A%D8%A7%D9%88%D9%8A%D9%83%D9%8A:%D8%B9%D8%B7%D8%A7%D8%B4%D8%A914.%D8%AE%D8%AF%D9%85%D8%A91.json | configuration for AD years ]])
- AutoWikiBrowser (an issue with using "Auto save" option was resolved by logging in with the bot account)
Fixes:
- Spelling errors of day names in articles => DONE
- Wrong category names => DONE
- Interlinking articles => DONE
- Interlinking categories => DONE
- Creating missing categories => DONE for categories up to 599 BC (600 BC and earlier need to be discussed)
- Deleting articles for future years (beyond 2039) => DONE
- Replacing free text with "main topic article" template => DONE
- Other fixes (e.g. date conversion errors) will be done by the editor who originally created the articles and categories