Template talk:Committed identity
Appearance
| This is the talk page for discussing improvements to the Committed identity template. |
|
| Archives: 1Auto-archiving period: 2 months |
Empty-string hash detection
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
- 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)
- @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)
Done Sohom (talk) 03:19, 27 November 2025 (UTC)