Module talk:Turn into tag link
Latest comment: 10 days ago by Chris2map in topic missing colon
missing colon
See testcases, I think colon is not recognized by the pattern.
I also think there should be aome kind of notice for errors, like left-over characters at the end, or no matches at all (i.e. only left overs).
–cyton (talk) 08:45, 11 May 2026 (UTC)
- Come to think of it now, you *could* split at colons, and use the prefix-variant of Template:Tag with the
:=parameters. I.e. splitting the parts of the tag apart at every colon into it's components. - The Template:Tag allows for 5 key components, that's reasonable to implement.
- Same for the listed 5 components for the value, separated by semicolon, right?
–cyton (talk) 11:54, 11 May 2026 (UTC)- Or, what about implementing this as a feature of the Module:Tag itself?
- I haven't read its source, but it probably handles this in some similar fashion already, no?
–cyton (talk) 11:57, 11 May 2026 (UTC)- Extended the module with ":". Most of the cases should work now. --Chris2map (talk) 13:10, 11 May 2026 (UTC)