Jump to content

Template talk:Committed identity

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Add gray border

[edit]

This template looks odd, it uses the same color that the Wikipedia software uses to highlight a comment on a talk page (when the user copies a link to the comment or it's linked to from somewhere else)

I suggest adding a 1px border, not dissimilar to the one used in the {{talk header}} at the top of this page. FaviFake (talk) 10:46, 23 August 2025 (UTC)[reply]

Added TPER since nobody objected.--FaviFake (talk) 11:07, 31 August 2025 (UTC)[reply]
 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. – Jonesey95 (talk) 15:40, 31 August 2025 (UTC)[reply]
Right, I keep forgetting. Here's the change: in Template:Committed identity/styles.css, change:
border: 1px solid #E0E8FF;
+
border: 1px solid #a2a9b1;
FaviFake (talk) 20:59, 31 August 2025 (UTC)[reply]
 Done SWinxy (talk) 02:46, 24 September 2025 (UTC)[reply]

Empty-string hash detection

[edit]

There are several cases of user having empty-string hash there by some mistake (I did send them a message). These could be easily detected. See my proposal (diff) in the template sandbox. (Usable test case is in user:Mykhal/tmp, revisions for production version: 1319511046, sandboxed version: 1319511141). —Mykhal (talk) 07:31, 30 October 2025 (UTC)[reply]

Mykhal, what do you think of my tweaks on top of your changes? I've switched Template:Committed identity/testcases to use Template:Test case to make the demonstrations clearer. —⁠andrybak (talk) 21:55, 30 October 2025 (UTC)[reply]
@Andrybak: Changes are not bad (but my intended possible further improvements would probably involve moving more things from switch outcomes to common code, rather than the opposite direction – maybe the error message does not have to include the hash value). —Mykhal (talk) 06:28, 31 October 2025 (UTC)[reply]