Wikipedia talk:Categories for discussion/Working

XFD backlog
V Sep Oct Nov Dec Total
CfD 0 0 29 0 29
TfD 0 0 4 0 4
MfD 0 0 1 0 1
FfD 0 0 11 0 11
RfD 0 0 42 0 42
AfD 0 0 1 0 1

Skip to top
Skip to bottom

Bot processing of template parameters

edit

Five years ago   when JJMC89 was extending his excellent bot to process CFDW, there was an inconclusive discussion about also updating parameters within templates.

At that time, JJMC89 offered: "For cases where the category name is placed in a template parameter, this is easy. How do we want to cover this?

  1. Replace the category name in any parameter of any template
  2. Replace the category name in any parameter of whitelisted templates
  3. Replace the category name in whitelisted parameters of whitelisted templates
  4. Replace the category name in any parameter of non-blacklisted templates"

Options 1 and 4 could lead to unpredictable outcomes not being detected promptly. For example, I would want to check the results of updating {{Fooian fooers}} before saving.

As for options 2 and 3, Black Falcon was afraid that a whitelist would be too cumbersome, but I would like at least the following to be added to the current bot actions for renamings:

There will always be manual follow up required for some CFDs, but these seem fair requests for a bot to handle, particularly if we're only expecting them to be edited on pages that are current members of a category being renamed.

JJMC89 notes that this would be option #3 on his above list, but TBH I think we could safely simplify that to #2.

On his talk page, JJMC89 has asked for input from other CFD regulars before taking this forward. – Fayenatic London 21:26, 16 October 2024 (UTC)Reply

Makes sense to me. Ymblanter (talk) 22:10, 16 October 2024 (UTC)Reply
I think either 2 or 3 would be good. I think we should call it something other than whitelist (e.g. allowlist?) per phab:T254646 and related efforts. Would this be on-wiki? I think a fully-protected page would be a great way to do this. HouseBlaster (talk • he/they) 23:06, 16 October 2024 (UTC)Reply
@JJMC89: as requested, options 2 or 3 now have explicit support from the current regulars. Did you envisage a list editable by admins on a new protected subpage, e.g. Wikipedia:Categories for discussion/Working/Bot template list (or a section of WP:CFDW?), or managed by yourself within the bot code following requests on this page? – Fayenatic London 21:06, 25 October 2024 (UTC)Reply
I will make an on-wiki configuration, editable by admins. I will let you know when I have the code ready to go. — JJMC89(T·C) 04:44, 5 November 2024 (UTC)Reply

Category deleted but entries not moved

edit

I recently listed Category:Recipient of the Order of the Star of South Africa to be speedily moved to Category:Recipients of the Order of the Star of South Africa, and this was done, but as you hopefully can see clicking on that red link, it still lists all the category's entries there and not at the new name. Two other categories I also listed were processed at the same time (see this removal of entries by Ymblanter) and they were processed just fine. Was this a bot error, and is there a quick fix for it? QuietHere (talk | contributions) 08:03, 21 November 2024 (UTC)Reply

None of the pages which are currently listed as the category's entries are actually included to the category, and they remain there as a result of caching. When the cache expires, they will disappear but they are not going to appear in the new category. (I added the new category manually to one entry so at least it does not get speedy deletion). Presumably the category was added by some template and it is not added by this template anymore, but I can not easily see which one. Either one of my better technically equipped colleagues could have a look, or we would need to go to village pump:technical. Ymblanter (talk) 08:46, 21 November 2024 (UTC)Reply
Fixed in Module:MilAward/data. * Pppery * it has begun... 04:46, 22 November 2024 (UTC)Reply
Great, thanks. Ymblanter (talk) 19:19, 27 November 2024 (UTC)Reply
Pppery you updated one instance; there were more below that one. – Fayenatic London 21:20, 30 November 2024 (UTC)Reply