Page MenuHomePhabricator

Link formatting should be available to users/editors
Closed, DeclinedPublic

Description

Author: mark_e_martin

Description:
Link formatting controls for
:link
:visited
:active
:hover
Should be made available to users/editors while editing a page without requiring an administrator to load CSS files on the server. The URL will take you to a more detailed description/sample of the problem and why this is a feature request versus a template request. It is ONLY for presentation control, not any other types of CSS control -- color, decoration, etc...


Version: unspecified
Severity: enhancement
URL: http://meta.wikimedia.org/wiki/Link_Appearance_Control

Details

Reference
bz12337

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:56 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz12337.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

I believe there is no way to do this, prior to CSS3, without allowing per-page <style> tags (possibly very limited) to be added. Not sure if that's worth the effort.

mark_e_martin wrote:

There actually are a couple extensions that allow for fairly full CSS use on pages but that would be a tad 'dangerous' to expose.

http://www.mediawiki.org/wiki/Extension:CSS
http://www.mediawiki.org/wiki/Extension:PageCSS
http://www.mediawiki.org/wiki/Extension:AddScriptCSS

These 3 allow for tags to be used that will append the embedded script to the <head> or <body> portions of a page. Now if they can allow full control (again, not desired) then a limited form for just link controls should be possible using a function/template driven format.

mark_e_martin wrote:

I updated the link document with additional suggestions on syntax, form and function that should better clarify what I am thinking about as far as a solution goes.

As a matter of course, fancy coloring should be kept to a minimum. Setting up the common style sheets is much preferred.