Last modified: 2014-09-13 23:24:00 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 T27001, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25001 - Allowing class "new" links to be styled as such in toolbox, etc.
Allowing class "new" links to be styled as such in toolbox, etc.
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-31 22:16 UTC by Brett Zamir
Modified: 2014-09-13 23:24 UTC (History)
6 users (show)

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


Attachments

Description Brett Zamir 2010-08-31 22:16:28 UTC
Due to a selector in main-ltr.css (div#mw-panel div.portal div.body ul li a:visited), when I try to add links to the toolbox (selector "a.new"), the latter selector does not get priority. Could "a.new" (whether the other instance in main-ltr.css or the index page) be given higher priority here? 

I am using the extension at http://www.mediawiki.org/wiki/Extension:BADI_Pages_Created_Links to add links to other wikis with styling depending, as with internal Mediawiki links, on whether the page has been created at the other site or not (detected via HEAD requests) and would prefer not to use inline styles to achieve the styling.

Thank you
Comment 1 Quim Gil 2014-04-08 07:14:18 UTC
Sorry, I'm not an expert in this area. Can't this request be achieved by editing MediaWiki:Common.css, or a similar alternative?
Comment 2 Bartosz Dziewoński 2014-09-13 23:24:00 UTC
(In reply to Brett Zamir from comment #0)
> Due to a selector in main-ltr.css (div#mw-panel div.portal div.body ul li
> a:visited), when I try to add links to the toolbox (selector "a.new"), the
> latter selector does not get priority. Could "a.new" (whether the other
> instance in main-ltr.css or the index page) be given higher priority here? 

This isn't possible. Use a more specific selector or !important to override other rules. MediaWiki can't change how CSS works.

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


Navigation
Links