More specific CSS classes for Special:Contributions
Closed, ResolvedPublic


Currently, setting personal styling for Special:Contributions requires some tricky use of CSS selectors. See for example my common.css:

It would be beneficial to have each part of a change item (title, comment, etc.) have its own CSS class to avoid the necessity of doing this.

Version: unspecified
Severity: enhancement

bzimport set Reference to bz39795.
Scott created this task.Via LegacyAug 30 2012, 10:30 AM
Dereckson added a comment.Via ConduitAug 30 2012, 2:45 PM

Taking this bug.

I offer to add:

  • mw-contributions-date for a clickable date (there were already history-deleted for deleted one)
  • mw-contributions-title for the page title

There is already a comment class.

That would give something like:
<li class=""><a href="/index.php?title=%E0%A6%AC%E0%A7%87%E0%A6%9F%E0%A7%81%E0%A6%AA%E0%A6%BE%E0%A6%A4&amp;oldid=18" title="বেটুপাত" class="mw-contributions-date">21 juin 2012 à 12:30</a> (<a href="/index.php?title=%E0%A6%AC%E0%A7%87%E0%A6%9F%E0%A7%81%E0%A6%AA%E0%A6%BE%E0%A6%A4&amp;diff=prev&amp;oldid=18" title="বেটুপাত">diff</a> | <a href="/index.php?title=%E0%A6%AC%E0%A7%87%E0%A6%9F%E0%A7%81%E0%A6%AA%E0%A6%BE%E0%A6%A4&amp;action=history" title="বেটুপাত">hist</a>) . . <span dir="ltr" class="mw-plusminus-pos" title="587 octets après changement">(+3)</span>‎ . . <a href="/index.php?title=%E0%A6%AC%E0%A7%87%E0%A6%9F%E0%A7%81%E0%A6%AA%E0%A6%BE%E0%A6%A4" title="বেটুপাত" class="mw-contributions-article">বেটুপাত</a> ‎ <span class="mw-uctop">(dernière)</span> <span class="mw-rollback-link">[<a href="/index.php?title=%E0%A6%AC%E0%A7%87%E0%A6%9F%E0%A7%81%E0%A6%AA%E0%A6%BE%E0%A6%A4&amp;action=rollback&amp;from=Dereckson&amp;token=d368ef29e5c57469d0f2727632ec23e4%2B%5C" title="« Révoquer » annule en un clic la ou les modification(s) de cette page par son dernier contributeur.">révoquer 1 modification</a>]</span> </li>

Gerrit change 22030

Dereckson added a comment.Via ConduitAug 30 2012, 3:49 PM

( Adding 'patch-in-gerrit' and 'design' keywords. Priority low. )

Scott added a comment.Via ConduitAug 30 2012, 5:45 PM

Great, thank you. May I also request a class for the ". ." separator text? My personal preference runs to hiding those, and others may also want to.

Dereckson added a comment.Via ConduitAug 30 2012, 9:26 PM

Added, the class name is mw-contributions-separator.

Krinkle added a comment.Via ConduitAug 30 2012, 9:43 PM

-design, not design related.

Dereckson added a comment.Via ConduitSep 7 2012, 9:33 AM

Krinkle has suggested to apply this change to other special pages. I think it's a good idea and will be more coherent.

See bug #40072.

Add Comment