We'd like some sort of <span> tagging to separate the various elements in a machine-readable signature. This is the HTML output of the wikitext parser function of {T230653}. (T230653 simplifies parsing signature information from wikitext; this task would simplify parsing signature information from rendered HTML.)
I'd suggest trying to use web standards whenever possible. As a starting point, the [`<time>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time) around the comment time, with appropriate [microdata](https://en.wikipedia.org/wiki/Microdata_(HTML)) tagging to indicate that this is a [commentTime](https://schema.org/commentTime). There are similar [schema.org](https://schema.org) attributes for other comment-related data --- see for example [UserComments](https://schema.org/UserComments) and [Comment](https://schema.org/Comment) --- although we probably shouldn't get *too* carried away. The semantic anchor for a user can either be their user page URL (ie, https://en.wikipedia.org/wiki/User:cscott) or by their stable user id (ie, https://en.wikipedia.org/wiki/Special:Redirect/user/173490 ).
As a base case, the current HTML emitted by a comment ending in `~~~~` in wikitext (with a sample comment text preceding) is:
```
<dd>The logo was never really non-free, as far as I can tell, it's been replaced by an identical SVG, which wouldn't change the non-free situation in any case. But SVG is better than PNG, so go ahead, delete away. <a href="/wiki/User:Cananian" class="mw-redirect" title="User:Cananian">C. Scott Ananian</a> 18:07, 29 March 2007 (UTC)</dd>
```
So something like:
```
<span vocab="http://schema.org" typeof="Comment"><a href="/wiki/User:cscott" property="creator">C. Scott Ananian</a> <time property="dateCreated" datetime="2007-03-29T18:07Z">18:07, 29 March 2007 (UTC)</time></span>
```
We should also consider the issues raised in {T120409} as well. Parsoid's (former) semantic tagging about users is visible in 89f0eedf78173a0dcf343d5ab223c3da223c9201.