Page MenuHomePhabricator

Provide a means to give an example "stub" link in "stubthreshold" message
Closed, ResolvedPublic

Description

Author: robchur

Description:
It would be nice if users could see what a "stub link" looked like when setting
a stub threshold in their preferences. The "stubthreshold" message, used as a
label for the relevant option, is being treated as plain text.

Either we'll need to enable HTML for that message (which reignites a dangerous
precedent), or we'll want to provide some nifty workaround.


Version: 1.11.x
Severity: enhancement
URL: http://en.wikipedia.org/wiki/MediaWiki_talk:Stubthreshold

Details

Reference
bz9886

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:39 PM
bzimport set Reference to bz9886.
bzimport added a subscriber: Unknown Object (MLST).

Reverted in r22303

Adding a class for the example is not only ugly, it's fragile -- customizations to the actual threshold will have no effect on the sample.
The sensible thing is to construct an actual bit of sample text using the actual classes -- a null link (<a href="#">) with appropriate class would show the effect nicely and be robust to customizations.

robchur wrote:

Fixed again using a much simpler, cleaner method in r22740.