Template talk:Extension
Add topicNotheme
[edit]@TheDJ: Unfortunately adding notheme introduced some glitches (apart from which it looks good): in Template:Extension#Usage, the red link and the error text (invalid) are too dark red, and the brackets of the [toggle] buttons are black instead of white. Am I right in assuming that these glitches will go away if, as proposed in the edit summary, the overrides are removed at the site level? —Tacsipacsi (talk) 16:57, 1 January 2025 (UTC)
- I'd have to look into it. The collapsible is actually interesting. It seems to fallback to UA styling, which has explicit color:black for buttons it seems. That might have to be fixed in core. —TheDJ (Not WMF) (talk • contribs) 09:42, 2 January 2025 (UTC)
- Setting the buttons to
color:var(--color-base,#202122)would be a good idea in general for consistency with other colors and across browsers; but it wouldn’t help in our case, as--color-baseis overridden in.nothemeto#202122regardless of the theme. —Tacsipacsi (talk) 00:14, 3 January 2025 (UTC)
- Setting the buttons to
Prefix
[edit]It seems that the "Parameters" section of this template ignores the configuration prefix setting from extension.json. Alexander Mashin talk 04:24, 3 April 2025 (UTC)
Extension adding rights not categorized
[edit]The Extension:DeletePagesForGood page states that the extension adds rights, but it is not categorized under Category:Extensions which add rights. Shirayuki (talk) 12:07, 21 April 2025 (UTC)
Changing cat() to tcat()
[edit]What are peoples' thoughts of changing the three uses of cat() in Module:Extension (currently used for the categories 'Extensions with manual MediaWiki version', 'Extensions without MediaWiki version' & 'Extensions not in ExtensionJson') to tcat() -- does anyone have any objections? I'm hoping that something like this would make it easier to look/work through those maintenance categories, as it'd deduplicate the multiple listings that currently exist within them for a number of extensions (by moving the translated pages to categories for their languages).
Pinging @P858snake as you tried something like this previously in Special:Diff/6801741 but self-reverted the edit an hour later, & @Samwilson as it looks like you added those categories in 2021. Best, —a smart kitten[meow] 13:51, 9 July 2025 (UTC)
- @A smart kitten: Yes, that looks like it'd be fine, I think. I can't remember why we ended up with two categorising functions. Sam Wilson 01:12, 10 July 2025 (UTC)
- Boldly
Done in Special:Diff/7743936. Let's hope nothing breaks :D —a smart kitten[meow] 18:57, 13 July 2025 (UTC)
- Great! I guess the
cat()function can be deleted now? Or in a while when no one's noticed anything broken. Sam Wilson 03:02, 14 July 2025 (UTC)- Maybe - given that
tcat()callscat()itself, I guess it depends on whether it's better to movecat()'s logic intotcat()or to keep it separate. —a smart kitten[meow] 13:44, 14 July 2025 (UTC)
- Maybe - given that
- Great! I guess the
- Boldly
False positives
[edit]This template erroneously puts some extensions that are present in the non-WMF repository into the Category:Extensions not in ExtensionJson. The reason, I presume, are the spaces in the extensions' names. Examples inlude extensions with names starting with Semantic .
Alexander Mashin talk 10:11, 2 November 2025 (UTC)