Jump to content

Wikinews:Water cooler/technical/archives/2024/November

From Wikinews, the free news source you can write!


Date categories

How are the dates categories created for published articles? Is it a manual process done each month? —Michael.C.Wright (Talk/Published) 16:29, 4 November 2024 (UTC)[reply]

Stories (always?) begin with {{date}} and the first parameter has the date, adding the category. —Justin (koavf)TCM 18:21, 4 November 2024 (UTC)[reply]
I'm referring to categories such as this one: Category:November 4, 2024. These categories are automatically added to published articles by EasyPeerReview. I'm hoping there is a tool that create the categories rather than requiring each date cat to be created manually. —Michael.C.Wright (Talk/Published) 18:51, 4 November 2024 (UTC)[reply]
Oooooooooooooooh, sorry. Humans manually create them, but in principle, a bot could. —Justin (koavf)TCM 18:53, 4 November 2024 (UTC)[reply]
I previously proposed a script that might be helpful. Asked42 (talk) 06:27, 5 November 2024 (UTC)[reply]
I recently used this to create DPL list pages as a working demo. Asked42 (talk) 18:33, 5 November 2024 (UTC)[reply]
I was going to try the script myself today but you beat me to it. Thanks for creating all of those categories! —Michael.C.Wright (Talk/Published) 14:52, 6 November 2024 (UTC)[reply]
I didn't actually create the categories; I only created the DPL (Dynamic Page List) pages.
Date categories: for example, Category:November 5, 2024
DPL pages: for example, Wikinews:2024/November/5.
So you can still try it and leave me a review if you find any errors. Asked42 (talk) 15:05, 6 November 2024 (UTC)[reply]