Last modified: 2013-04-22 16:16:59 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 T41795, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39795 - More specific CSS classes for Special:Contributions
More specific CSS classes for Special:Contributions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Dereckson
:
Depends on: 40072
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-30 10:30 UTC by Scott Martin (http://enwp.org/user:scott)
Modified: 2013-04-22 16:16 UTC (History)
2 users (show)

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


Attachments

Description Scott Martin (http://enwp.org/user:scott) 2012-08-30 10:30:34 UTC
Currently, setting personal styling for Special:Contributions requires some tricky use of CSS selectors. See for example my common.css:

http://en.wikipedia.org/wiki/User:Earle_Martin/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.
Comment 1 Dereckson 2012-08-30 14:45:27 UTC
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
Comment 2 Dereckson 2012-08-30 15:49:23 UTC
( Adding 'patch-in-gerrit' and 'design' keywords. Priority low. )
Comment 3 Scott Martin (http://enwp.org/user:scott) 2012-08-30 17:45:35 UTC
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.
Comment 4 Dereckson 2012-08-30 21:26:40 UTC
Added, the class name is mw-contributions-separator.
Comment 5 Krinkle 2012-08-30 21:43:28 UTC
-design, not design related.
Comment 6 Dereckson 2012-09-07 09:33:06 UTC
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.

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


Navigation
Links