Wikinews:Water cooler/technical
Page last updated: Wednesday 22 at 0428 UTC.
Action Required: Update templates/modules for electoral maps (Migrating from P1846 to P14226)
Hello everyone,
This is a notice regarding an ongoing data migration on Wikidata that may affect your election-related templates and Lua modules (such as Module:Itemgroup/list).
The Change:
Currently, many templates pull electoral maps from Wikidata using the property P1846, combined with the qualifier P180: Q19571328.
We are migrating this data (across roughly 4,000 items) to a newly created, dedicated property: P14226.
What You Need To Do:
To ensure your templates and infoboxes do not break or lose their maps, please update your local code to fetch data from P14226 instead of the old P1846 + P180 structure. A list of pages was generated using Wikimedia Global Search.
Deadline:
We are temporarily retaining the old data on P1846 to allow for a smooth transition. However, to complete the data cleanup on Wikidata, the old P1846 statements will be removed after May 1, 2026. Please update your modules and templates before this date to prevent any disruption to your wiki's election articles.
Let us know if you have any questions or need assistance with the query logic. Thank you for your help! ZI Jony using MediaWiki message delivery (talk) 17:09, 3 April 2026 (UTC)
Main page leads not updating properly
The leads for the Main page are not updating properly on the main page, for some reason. They are correctly displayed when viewed individually. They are no longer using FlaggedRevs, so it isn't a problem of sighting.
When I start to change the Main page, I can select "show preview" and the leads show correctly, but when I save changes to the main page, a cached version of the leads remains. The date is correct, so I know the page is updating. I also tried ?action=purge at the end of the URL and that doesn't work.
They are properly displayed in my Sandbox
It's visible across three different browsers for me, even after clearing my browser caches.
Any thoughts on what it could be?
{{Lead article 1}}
{{Lead article 2}}
{{Lead article 3}}
{{Lead article 4}}
{{Lead article 5}}Michael.C.Wright (Talk/Reviewer) 14:33, 15 April 2026 (UTC)
- Additionally, it's been this way at least since at least April 6 because this edit and all the subsequent lead shuffles, were never visible on the Main page.Michael.C.Wright (Talk/Reviewer) 14:38, 15 April 2026 (UTC)
- That is super weird. I have no idea why this is happening. When I copy the content from the main page to my sandbox, the updated version shows up. It is only on the main page that this is happening. Maybe creating a Phabricator task may resolve this? since Wikinews has not been closed yet. -- Asked42 (talk) 17:17, 15 April 2026 (UTC)
- This does appear to be related to our disabling FlaggedRevs in template namespace (see the Phabricator ticket for details).
- For this specific issue, I re-created all Lead article templates and moved the old ones for safe-keeping (links in the new template talk pages).
- The Main page is once again functional. I tested Lead Manager and it updates the new templates as expected.
- @Codename Noreste, this may be a one-off and not something that comes up again, but it could be worth keeping in mind if similar changes are proposed for other projects.Michael.C.Wright (Talk/Reviewer) 22:14, 15 April 2026 (UTC)
- Phab T423512 has been resolved and closed. Pages that are not displaying the most recent version of a template can be refreshed by adding
?action=purgeto the end of the URL. - I think we should keep this discussion open for a few more days, just in case we find any additional issues.Michael.C.Wright (Talk/Reviewer) 14:36, 19 April 2026 (UTC)
DPL, our archives, and potential bot use
Our archive pages, the pages that actually list our archived articles in an organized, structured manner, all use DPL and therefore will all be broken when DPL is uninstalled from the project.
I estimate 3-4 thousand pages are involved. For example all of the linked pages on Wikinews:Archives/Date/2010 use DPL. There are 23 total "year" pages similar to that one, each with a page for nearly each month and a page for nearly each day of each month, all using DPL.
I have no idea how to fix that short of utilizing a bot, which has been offered by Ladsgroup on a related Phabricator ticket. There are some catches:
- The bot was indefinitely blocked by Pi zero 12 years ago,[1] as it was "...operated without authorization in violation of project policy, and operated with an effective bot flag without local control as well as without authorization." Ladsgroup explained that the bot was removing inter-wiki translation links.[2] Given that Pi is no longer with us, I believe community consent to unblock is recommended.
- If the bot is unblocked, I believe it will still need admin and flood privileges in order to operate effectively, requiring community consent. We'd need to request a bureaucrat to make that change and there are already open and unresolved requests for them. We may need to engage Stewards. All of that would take time.
Questions:
- Are there any ideas for alternatives to the bot?
- Are there any thoughts on unblocking and utilizing the bot?
This isn't an official proposal yet, just seeing what others think.Michael.C.Wright (Talk/Reviewer) 15:12, 19 April 2026 (UTC)
LUA enabled on read-only
@Pppery, @Bawolff, @Ladsgroup, do you know if LUA will remain available to the archived project once it is set to read-only? Thanks in advance. Michael.C.Wright (Talk/Reviewer) 13:36, 22 April 2026 (UTC)
- Most lkkely yes. Bawolff ☺☻ 14:05, 22 April 2026 (UTC)