Last modified: 2009-06-17 21:39:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20661, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18661 - Wrap tags in an identifying span
Wrap tags in an identifying span
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Change tagging (Other open bugs)
1.15.x
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Andrew Garrett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-03 17:19 UTC by Happy-melon
Modified: 2009-06-17 21:39 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Happy-melon 2009-05-03 17:19:23 UTC
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>
Comment 1 Derk-Jan Hartman 2009-05-04 19:35:13 UTC
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>
Comment 2 Happy-melon 2009-05-04 19:59:23 UTC
No, because that doesn't allow styling of spans with CSS; styles would have to be applied to all .mw-tag-* classes explicitly.
Comment 3 Andrew Garrett 2009-06-17 21:39:51 UTC
Did this in r52071.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links