🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Template_talk:Committed_identity
Jump to content

Template talk:Committed identity

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

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]
 Done Sohom (talk) 03:19, 27 November 2025 (UTC)[reply]