Last modified: 2007-05-02 00:04:39 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 T11758, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9758 - Add CSS class to body to allow action=history view to be distinguished
Add CSS class to body to allow action=history view to be distinguished
Status: RESOLVED DUPLICATE of bug 4438
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.10.x
PC Linux
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Main_Pag...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-02 00:02 UTC by Mike Dillon
Modified: 2007-05-02 00:04 UTC (History)
0 users

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


Attachments
Changes Skin.php to include an "action-..." CSS class based on the action HTTP parameter (501 bytes, patch)
2007-05-02 00:03 UTC, Mike Dillon
Details

Description Mike Dillon 2007-05-02 00:02:21 UTC
Currently, the CSS rules on English Wikipedia unconditionally suppress
#contentSub in the Monobook skin for the Main Page using ".ns-0 .page-Main_Page"
as a selector. This has the side effect of suppressing the #contentSub on the
history page as well.

It would be nice to be able to stop this from happening. I have a patch to
include the value of the "action" parameter as a new CSS class on the body
prefixed with "action-" (e.g. "action-history" or "action-view"). This may or
may not be the best way to do this.
Comment 1 Mike Dillon 2007-05-02 00:03:09 UTC
Created attachment 3557 [details]
Changes Skin.php to include an "action-..." CSS class based on the action HTTP parameter
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-02 00:04:39 UTC

*** This bug has been marked as a duplicate of 4438 ***

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


Navigation
Links