Page MenuHomePhabricator

Wrap tags in an identifying span
Closed, ResolvedPublic

Description

Author: happy.melon.wiki

Description:
Currently the <li> entry is given classes corresponding to any tags that are applied to the edit, which is great, but the tag text itself is not identified. This is undesirable not only because it means tags can't be styled, but also because there is no easy way for a script to identify all the tags on a page.

<li class="mw-tag-references_removed">(cur) (prev) 17:27, 2 May 2009 12.42.5.195 (talk | block) (61,195 bytes) (Corrected wrong genre) (undo) (references removed)</li>

becomes:

<li class="mw-tag-references_removed">(cur) (prev) 17:27, 2 May 2009 12.42.5.195 (talk | block) (61,195 bytes) (Corrected wrong genre) (undo) <span class="mw-tag">(references removed)</span></li>


Version: 1.15.x
Severity: enhancement

Details

Reference
bz18661

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:36 PM
bzimport set Reference to bz18661.

or the other way around...

<li class="mw-tag">(cur) (prev) 17:27, 2 May 2009
12.42.5.195 (talk | block) (61,195 bytes) (Corrected wrong genre) (undo) <span
class="mw-tag-references_removed">(references removed)</span></li>

happy.melon.wiki wrote:

No, because that doesn't allow styling of spans with CSS; styles would have to be applied to all .mw-tag-* classes explicitly.