Archive 1Archive 2Archive 3

Template-protected edit request on 6 October 2025

Please change the following on line 352

<table style=" vertical-align: middle !important; text-align: center; font-size: 95%; color: {{{fontcolor|inherit}}}; margin: auto; border-spacing: 0px; border-collapse: collapse;">
+
<table style=" vertical-align: middle !important; text-align: center; font-size: 95%; color: initial; margin: auto; border-spacing: 0px; border-collapse: collapse;">

This fixes the font colour of userboxes added to this template. Previously the font colour became white during dark mode use (impossible to read in many userboxes), as it inherited the font colour from the infobox. This change ensures userboxes use their own pre-defined font colours so the text is as intended. Here's the difference:

Side by side comparison
{{Infobox Wikipedia user}}{{Infobox Wikipedia user/sandbox}}
Infobox Wikipedia user
 Wikipedian 
Userboxes
enThis user is a native speaker of the English language.
This user lives in the United States of America.
This user likes Red-Eyed Tree Frog.
This user appreciates graffiti
as an art form.
Eagle NebulaThis user is interested in astronomy.
Infobox Wikipedia user
 Wikipedian 
Userboxes
enThis user is a native speaker of the English language.
This user lives in the United States of America.
This user likes Red-Eyed Tree Frog.
This user appreciates graffiti
as an art form.
Eagle NebulaThis user is interested in astronomy.

Note: While this fixes the majority of userboxes, it does break some (userboxes with non-defined font colours), however I believe we should make the majority of userboxes readable for the time being. It's tricky to fix ones without defined colours as the actual {{infobox}} template imposes a color: inherit !important; CSS class, which is why the userboxes with non-defined font colours inherit the default white when dark mode is turned on. If anyone has ideas on how to get around this (other than manually defining colours on all userboxes) I'd love to hear it.

This only affects display when dark mode is turned on and is part of my effort to make things readable to dark mode users.

Edit has been sandboxed and tested. SnowyRiver28 (talk) 01:09, 6 October 2025 (UTC)

I see no difference in the official Vector 2022 dark mode (the one you choose in the right-side toolbar). All of the "This user ..." text shows as white in both the sandbox and live versions. – Jonesey95 (talk) 02:25, 6 October 2025 (UTC)
I noticed the sandbox page was updated, perhaps that's why? If we revert the sandbox to my last edit it should work properly. SnowyRiver28 (talk) 02:32, 6 October 2025 (UTC)
No, I don't think so. I changed it after you posted here, because it wasn't showing a difference. Here's a test:
This user lives in the United States of America.
I want to see how this looks in dark mode; I changed some sandboxes. – Jonesey95 (talk) 02:36, 6 October 2025 (UTC)
No, that looks bad too. I don't think the problem is fixable within this infobox template. I think each set of Userbox templates, or the templates and modules that undergird them, will need to be fixed. I remember when the Linter issues were first introduced, I spent what felt like a week or two just fixing errors in userbox templates. Something like that, probably on a larger scale, may be needed again, unless some part of {{Userbox}} can be magically adjusted. – Jonesey95 (talk) 02:38, 6 October 2025 (UTC)
This would only affect userboxes transcluded in the {{Infobox Wikipedia user}} template, it does nothing for the actual userboxes if they're just transcluded on the page.
I reverted the sandbox to my edit and it's working now for me. SnowyRiver28 (talk) 02:40, 6 October 2025 (UTC)
Note this only changes infoboxes that don't have pre-defined font colours. It ensures the {{Infobox Wikipedia user}} respects the font colours of the userboxes and doesn't override them.
See above the {{User Astronomy}} userbox doesn't change, as the font colour is defined as white in the userbox, but the others do, as the font colours aren't defined and therefore default to black (unless the infobox overrides them to be white, which is what this fix prevents). SnowyRiver28 (talk) 02:43, 6 October 2025 (UTC)
But yes, widespread changes are likely needed to the {{Userbox}} template to ensure userboxes are readable wherever they're transcluded and whatever appearance setting the user has. SnowyRiver28 (talk) 02:44, 6 October 2025 (UTC)
I'm not having the same experience. In the Vector 2022 dark mode, which is the one that you choose from the right-side "Appearance" sidebar, not the one that you choose in Preferences, I see white text in both versions. Try opening up a different web browser and looking at the page while logged out of Wikipedia. – Jonesey95 (talk) 10:40, 6 October 2025 (UTC)
Ahh, I see what you mean. This may be due to how different browsers interpret color: initial;? I'll remove the edit request for now as this clearly doesn't help much, thanks for pointing this out! I use Firefox to edit and just tried on Chrome logged out and had the same experience as you. SnowyRiver28 (talk) 10:45, 6 October 2025 (UTC)
Possibly. I've never heard of "initial" as a color choice, but I see that it exists. I suspect that it may not do what we want; the "initial" color for text in dark mode is probably close to white, since the initial background is close to black. – Jonesey95 (talk) 11:21, 6 October 2025 (UTC)
Initial is just meant to make an element ignore the setting imposed by its container. See this example.
In this case, the infobox imposes a white font colour (or whatever the user sets). This makes the userboxes unreadable a lot of the time. I was hoping using initial would make them ignore the infobox-imposed colour but apparently not SnowyRiver28 (talk) 11:33, 6 October 2025 (UTC)

Edit request 1 November 2025

Description of suggested change: Need to update userbox to include Wikipedia:Temporary account IP viewer user right in the same vein as the rest of the user rights and groups here listed. Attempt to provide diff failed so sorry about that. ~Gwennie🐈💬 📋 21:21, 1 November 2025 (UTC)

 Done ~Gwennie🐈💬 📋 03:15, 18 November 2025 (UTC)

Template-protected edit request on 30 October 2025

Hello, I would like to propose adding links for Matrix and Codeberg profiles to the "Contact info" section of the userbox. If Codeberg isn't notable enough or is considered redundant due to GitHub already being included, I would be fine with that.

To include Matrix, this would need to be added somewhere below |header63=Contact info:

| labelNN = [[Matrix (protocol)|{{color|{{{fontcolor|}}}|Matrix}}]]
| dataNN  = {{#if:{{{matrix|}}}|[https://matrix.to/#/{{urlencode:{{{matrix}}}}} {{{matrix}}}]}}

If Codeberg would be included, this would be added:

| labelMM = [[Codeberg|{{color|{{{fontcolor|}}}|Codeberg}}]]
| dataMM  = {{#if:{{{codeberg|}}}|[https://codeberg.org/{{urlencode:{{{codeberg}}}}} {{{codeberg}}}]}}

Then matrix, and optionally codeberg, would also need to be included in the list of parameters passed to {{#invoke:}} on the last line.

The parameters would also need to be documented on Template:Infobox Wikipedia user/doc, but as I seem to have permissions to edit that page, I can take care of that if these changes are accepted and made. --Gurkubondinn (talk) 13:06, 30 October 2025 (UTC)

Has this been answered? – The Grid (talk) 13:47, 19 November 2025 (UTC)
@The Grid, @Gurkubondinn, Would eithier of you like to mock up what this change might look like in the sandbox? Sohom (talk) 17:15, 27 November 2025 (UTC)
Sure, I can put that together. --Gurkubondinn (talk) 17:27, 27 November 2025 (UTC)
Sohom Datta:  Done. Mocked it up in my sandbox: User:Gurkubondinn/sandbox/Template:Infobox Wikipedia user.
The fiddly part is changing the numbers for the parameters after the new ones, since they are in sequence. --Gurkubondinn (talk) 17:44, 27 November 2025 (UTC)
 Done Sohom (talk) 17:46, 27 November 2025 (UTC)
Thanks, I've included the new params on Template:Infobox Wikipedia user/Archive 3/doc: Special:Diff/1324567769, think I got it correct. --Gurkubondinn (talk) 09:48, 28 November 2025 (UTC)

Time on Wikipedia

It seems to me that we could sensibly incorporate the calculation code from {{User Wikipedian For}} into this template, to replace/ supplement |first_edit=. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:41, 31 December 2025 (UTC)

I have a selfish preference to keep |first_edit= manual. Firstly, the calculation may not be accurate for users whose accounts were created in 2001 before or during the various pre-MediaWiki software transitions, or for accounts that have been renamed at any point. Secondly, some users may have created their account long before their first edit. ClaudineChionh (she/her · talk · email · global) 02:24, 2 January 2026 (UTC)

Edit request 2 January 2026 – Add SourceHut code forge

Description of suggested change: I propose adding a parameter for user profiles on SourceHut, which has been adopted by some as an alternative to both GitHub and Codeberg. SourceHut has a smaller user base than Codeberg and doesn't even have a mainspace article yet, so I'd understand if there isn't consensus to include it at this time.

I'm still a bit scared of template syntax, but SourceHut profile URLs have the format https://sr.ht/~<user>, e.g. https://sr.ht/~claudinec. ClaudineChionh (she/her · talk · email · global) 02:40, 2 January 2026 (UTC)

 Not done for now: please establish a consensus for this alteration before creating an edit request. Primefac (talk) 21:23, 3 January 2026 (UTC)