User talk:Ahecht
- User talk:Ahechtbot redirects here. User:Ahechtbot is a legitimate alternative bot account of Ahecht. Please use this page for all discussion of that bot account.
- User talk:Ahect redirects here. User:Ahect is a doppelgänger account, so if you see that user mentioned, it's probably a misspelling of User:Ahecht.
This is Ahecht's talk page, where you can send them messages and comments. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22Auto-archiving period: 31 days ![]() |
Module:RFC
[edit]Hello Ahecht, I just fixed something in your new module that broke one of the references, due to an extra space in the input. Although I support your effort, it would be nice to get a heads-up before replacing my macros entirely. That being said, I hope that I can further contribute to this module. — DandoriD (talk) 09:32, 12 September 2025 (UTC)
There is something else that is now broken: when requesting a reference without <ref></ref> around it (ref=no), the notes are dumped in the output without further processing. See the documentation page of {{Ref RFC}}, where this happens. Probably, the notes need to be fully processed (recursively?) before output is finalised. — DandoriD (talk) 10:31, 12 September 2025 (UTC)
- @Dandorid Sorry for not giving advance notice, there were a bunch of pages that suddenly got pushed into CAT:PEIS due to multiple uses of the RFC templates, so I wanted to deploy as soon as possible to keep the other templates on those pages displaying correctly. Thanks for catching those errors -- of course the one test case that I forgot to copy from the documentation to the /testcases page is the one that failed. Should be fixed now. --Ahecht (TALK
PAGE) 14:52, 12 September 2025 (UTC)- I think you are right that all seems to work now. Good call to include three templates in one module. Can you give an estimate how much this module does to make processing more efficient? I guess that it is my work that pushed some pages to CAT:PEIS, since I am adding more {{Ref RFC}} calls on a regular basis. — DandoriD (talk) 19:24, 13 September 2025 (UTC)
- @Dandorid I'm not sure the processing is more efficient. It comes down to the way that mediawiki calculates the amount of text generated by templates. If you have Template:A that calls Template:B, mediawiki adds the two template sizes together, meaning that Template:B gets double-counted. This also applies to things like
{{#if:
statements, so{{#if:1|abc}}
has a template include size of 3 but{{#if:1|{{#if:1|abc}}}}
has an include size of 6. Since the old templates included many nested{{#if:
statements and nested templates, the final text was being counted many times. I reduced some of that by taking out some of the extra{{#if:1
statements that you had included, but even after that switching to the module reduced the include size by an additional 25% or so. The same double-counting occurs when you useframe:expandTemplate()
or use frame:preprocess() on text that has templates, so the include size could be reduced further through things like implementing {{rp}} in lua or swapping out the citations in the db pages from things like {{cite web}} to something like {{#invoke:cite|web}}. --Ahecht (TALK
PAGE) 16:29, 14 September 2025 (UTC)
- @Dandorid I'm not sure the processing is more efficient. It comes down to the way that mediawiki calculates the amount of text generated by templates. If you have Template:A that calls Template:B, mediawiki adds the two template sizes together, meaning that Template:B gets double-counted. This also applies to things like
- I think you are right that all seems to work now. Good call to include three templates in one module. Can you give an estimate how much this module does to make processing more efficient? I guess that it is my work that pushed some pages to CAT:PEIS, since I am adding more {{Ref RFC}} calls on a regular basis. — DandoriD (talk) 19:24, 13 September 2025 (UTC)
Hello Ahecht, I have made some improvements in the Module:RFC/sandbox. Please take a look. Let's discuss it on Module_talk:RFC— DandoriD (talk) 10:14, 29 September 2025 (UTC)
- @Dandorid Looks good to me. --Ahecht (TALK
PAGE) 14:26, 29 September 2025 (UTC)
FS player template edit
[edit]Hi there,
I noticed you edited the Template:Football squad player and now every football squad page fully spells out the country name for every player, instead of using a three-letter code as before.
With Bosnia and Herzegovina and United Arab Emirates fully spelled out, that looks a bit unruly and makes the squad tables much wider.
Is it possible to revert back to the three-letter code display and still achieve the purpose you made the edit for?
Thank you.
Geregen2 (talk) 16:43, 12 September 2025 (UTC)
- @Geregen2 I'll take a look. That didn't show up in my testcases, but I probably missed something. --Ahecht (TALK
PAGE) 17:01, 12 September 2025 (UTC)- Please note also that your edit introduced a stripped tag lint error, which is causing lint errors in thousands of articles that use this template. The close
</span>
tag at the end of| style="padding-right:15px;" | {{#invoke:flag|fba|{{{nat|}}}|variant={{{natvar|}}}|name={{{natname|code}}}}}</span>
- shouldn't be there. Thanks. —Bruce1eetalk 17:11, 12 September 2025 (UTC)
- @Geregen2
Fixed in Module:Flag. --Ahecht (TALK
PAGE) 17:23, 12 September 2025 (UTC)- Thanks! Geregen2 (talk) 17:54, 12 September 2025 (UTC)
- @Bruce1ee
Fixed in Template:Football squad player --Ahecht (TALK
PAGE) 17:23, 12 September 2025 (UTC)- Thank you. —Bruce1eetalk 17:24, 12 September 2025 (UTC)
- Please note also that your edit introduced a stripped tag lint error, which is causing lint errors in thousands of articles that use this template. The close
- I noticed it's still bugged for some countries - for example, "FAR" spells out "Faroe Island", but if you use "FRO" it's displayed correctly - same with Slovenia, if you use "SLO" it's fully spelled out, while "SVN" displays it correctly. And "SLO" creates a red link for Slovenia Football Association - it should be Football Association of Slovenia. Snowflake91 (talk) 13:36, 20 September 2025 (UTC)
- @Snowflake91 That's because it's using Module:Fba/list for the codes which uses FIFA codes. For Slovenia it does look like the IOC uses a SLO, so we may need to have a way to add alternative codes (although that may create ambiguity for BRN and BUR per Comparison of alphabetic country codes). --Ahecht (TALK
PAGE) 14:55, 20 September 2025 (UTC)- @Snowflake91 I think I fixed it in {{Football squad player/sandbox}}. I changed two things: if you use three uppercase letters it's always displayed as the code, even if it's not valid, and if it can't find the name of the football association it uses Module:CountryData to resolve aliases (such as "FAR" for "Faroe Island") and then tries looking it up again. Please try it out and let me know if it's working as expected. --Ahecht (TALK
PAGE) 18:21, 20 September 2025 (UTC)- Template:Football squad player/testcases works as expected in "sandbox" version. It would be even better if the result would always produce the official FIFA 3-letter code for the country for consistency, regardless of what the user would insert in the {{FS mid parameters. For example, if I type in "NGR" and "NGA" and "Nigeria", the live version after saving should in all three cases dispaly "NGA" by default as this is the official FIFA code for Nigeria, and should not display "NGR" even if you inserted "NGR" under nationality parameter, but this is a minor thing. See this diff under Sandbox version, I included 2 different abbrevations for 3 countries, but it should display it as just the "NGA", "KOS" and "SVN" everytime, I'm pretty sure it worked like that before the changes were made. Snowflake91 (talk) 22:33, 20 September 2025 (UTC)
- @Snowflake91
Done. Try out the new version of the sandbox. --Ahecht (TALK
PAGE) 03:50, 21 September 2025 (UTC)- Yeah, it works flawlessly now, thanks. Snowflake91 (talk) 08:59, 21 September 2025 (UTC)
- @Snowflake91
- Template:Football squad player/testcases works as expected in "sandbox" version. It would be even better if the result would always produce the official FIFA 3-letter code for the country for consistency, regardless of what the user would insert in the {{FS mid parameters. For example, if I type in "NGR" and "NGA" and "Nigeria", the live version after saving should in all three cases dispaly "NGA" by default as this is the official FIFA code for Nigeria, and should not display "NGR" even if you inserted "NGR" under nationality parameter, but this is a minor thing. See this diff under Sandbox version, I included 2 different abbrevations for 3 countries, but it should display it as just the "NGA", "KOS" and "SVN" everytime, I'm pretty sure it worked like that before the changes were made. Snowflake91 (talk) 22:33, 20 September 2025 (UTC)
- @Snowflake91 I think I fixed it in {{Football squad player/sandbox}}. I changed two things: if you use three uppercase letters it's always displayed as the code, even if it's not valid, and if it can't find the name of the football association it uses Module:CountryData to resolve aliases (such as "FAR" for "Faroe Island") and then tries looking it up again. Please try it out and let me know if it's working as expected. --Ahecht (TALK
- @Snowflake91 That's because it's using Module:Fba/list for the codes which uses FIFA codes. For Slovenia it does look like the IOC uses a SLO, so we may need to have a way to add alternative codes (although that may create ambiguity for BRN and BUR per Comparison of alphabetic country codes). --Ahecht (TALK
Hello, thanks for this [1]
Can you also take a look at {{Gaza war}}?
We also have a PEIS issue in Gaza genocide. I don't understand where all the bytes are going. Human history also has lots of sources but has no such issue.
The issue in Gaza genocide is discussed at Talk:Gaza_genocide#missing_citations. Thanks! Bogazicili (talk) 19:47, 16 September 2025 (UTC)
- @Bogazicili Not much I can do for that Na box template other than what I did at Special:Diff/1255784417. I'll take a look at the other templates on that page later. --Ahecht (TALK
PAGE) 22:38, 16 September 2025 (UTC) - @Bogazicili Looks like the issues with that article, compared to Human history, is lots of references with quotes and references with citation templates nested inside of other templates such as {{bulleted list}} (which results in the citations being quadruple counted). Looks like Achmad Rachmani already put in a lot of work into reducing the WP:PEIS, but I chopped it down by another 10% or so by using {{#invoke:list|bulleted}} so those citations are only triple-counted. --Ahecht (TALK
PAGE) 14:34, 17 September 2025 (UTC)- Thank you!
- I also had no idea about {{bulleted list}}. Maybe we should add that warning to its documentation? Bogazicili (talk) 16:03, 17 September 2025 (UTC)
PEIS at Template:Admin dashboard
[edit]Here's a challenge for you: PEIS issues at {{admin dashboard}}. – Jonesey95 (talk) 17:45, 24 September 2025 (UTC)
- @Jonesey95 Yeah, I looked into that and gave up a long time ago. As far as I can tell, it's just not sustainable to have everything on one dashboard. --Ahecht (TALK
PAGE) 19:27, 24 September 2025 (UTC)- Understood. They probably need to be split somehow. Not something I'm willing to take on either. – Jonesey95 (talk) 22:01, 24 September 2025 (UTC)
"Kung Fu Panda (film2)" listed at Redirects for discussion
[edit]
The redirect Kung Fu Panda (film2) has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Anyone, including you, is welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 October 2 § Kung Fu Panda (film2) until a consensus is reached. Thanks, 1isall (talk | contribs) 14:50, 2 October 2025 (UTC)
Survey
[edit]Hi and thanks for your recent participation in AfD. I would like to hear your thoughts about the process. Please check this survey if you are willing to respond.Czarking0 (talk) 02:19, 6 October 2025 (UTC)
Administrators' newsletter – October 2025
[edit]News and updates for administrators from the past month (September 2025).

- After a motion, arbitration enforcement page protections no longer need to be logged in the AELOG. A bot now automatically posts protections at WP:AELOG/P. To facilitate this bot, protection summaries must include a link to the relevant CT page (e.g.
[[WP:CT/BLP]]
), and you will receive talk page reminders if you forget to specify the contentious topic but otherwise indicate it is an AE action.
Host country flag display in Template:Infobox tournament season
[edit]Hello,
It seems that your recent edit to Template:Infobox tournament season broke display of flag for (at least) host_country
parameter. For example of a page, where the flag disappeared, see 2012 Men's World Floorball Championships. There's now blank Flag_placeholder
instead of the flag of Switzerland.
Also, the <br /f>
seems like a typo.
Thanks for looking into this (I cannot edit the template). Prikryl (talk) 06:40, 9 October 2025 (UTC)
- On 2002 Men's World Floorball Championships it even displays an image of the infobox instead of the flag. Prikryl (talk) 08:34, 9 October 2025 (UTC)
- @Prikryl
Fixed here. --Ahecht (TALK
PAGE) 14:28, 9 October 2025 (UTC)- Thanks! Prikryl (talk) 14:37, 9 October 2025 (UTC)
- @Prikryl
Swapping in category: space
[edit]Hi Ahecht! Hope you are doing well. I am wondering if it would be possible to enable User:Ahecht/pageswap.js in categoryspace? I occasionally need to swap pages as a result of a CFD merge, and doing it manually is a pain. I absolutely agree with the thought that category swaps should not be done willy-nilly, so perhaps a(n undocumented?) JS variable enables category swapping? Thank you for all the work you do on that script :) HouseBlaster (talk • he/they) 18:21, 9 October 2025 (UTC)
- @HouseBlaster You can set
window.pageSwapForceEnable = true
to override the namespace checks. You'll have to start the script after clicking on move (since it will always launch if you're on Special:MovePage regardless of namespace). --Ahecht (TALK
PAGE) 21:17, 9 October 2025 (UTC)- You are awesome. Thank you so much!! HouseBlaster (talk • he/they) 21:26, 9 October 2025 (UTC)
Pageswap and JavaScript redirects
[edit]Hello Ahecht! I was using pageswap to swap two user scripts and it errored on updating a JavaScript redirect. Would it be possible to add support for this? Here is the swap attempt and the manual fix. Thanks for the script! Daniel Quinlan (talk) 20:04, 15 October 2025 (UTC)
- @Daniel Quinlan The way the code is written it's not immediately straightforward to do that, but I'll add it to the to-do list. --Ahecht (TALK
PAGE) 20:43, 15 October 2025 (UTC)- Thanks! Daniel Quinlan (talk) 20:48, 15 October 2025 (UTC)