Last modified: 2011-03-13 18:05:38 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 T9284, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7284 - A CSS class for 'blue' links.
A CSS class for 'blue' links.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: css
  Show dependency treegraph
 
Reported: 2006-09-10 16:34 UTC by Dave Ross
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments
Proposed patch (545 bytes, patch)
2006-09-11 03:44 UTC, Aryeh Gregor (not reading bugmail, please e-mail directly)
Details

Description Dave Ross 2006-09-10 16:34:18 UTC
I would like a CSS class for blue wikified links comparable to the "new" class
for red links.  This would facilitate hiding already created entries from wanted
lists and requests lists, as well as long pages of "to be entered" material.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-09-11 03:44:48 UTC
Created attachment 2341 [details]
Proposed patch

Patch adds class "existing" to blue links.  Seems to work as expected on my
install.
Comment 2 Dave Ross 2006-09-12 16:43:07 UTC
Brion mentioned that there may have, at one point, been a class on blue links
and it was stripped out of wikimedia installs for bloating reasons.  Anyone have
information on that?
Comment 3 Brion Vibber 2008-02-18 20:13:48 UTC
The 'internal' class on plain wiki links was removed long ago as it a) provides nothing additional and b) bloats up the HTML output by adding onto every dang link.

Comment 4 Ryan Schmidt 2008-02-18 20:26:27 UTC
This is already doable via CSS, although a back-door method is needed to get the functionality. Something like the following in your MediaWiki:Common.css should generate the functionality you desire:

.hideinternal a { display: none; }
.hideinternal a.new { display: inline !important; }
/* shows external/interwiki links too */
.hideinternal a.external { display: inline !important; }
.hideinternal a.extiw { display: inline !important; }
Comment 5 MZMcBride 2009-02-06 20:13:17 UTC
Closing this as WONTFIX per comments 3 and 4.

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


Navigation
Links