Page MenuHomePhabricator

MediaWiki:Markaspatrolledtext only accepts raw text
Closed, DeclinedPublic

Description

Author: Wiki.Melancholie

Description:
[[MediaWiki:Markaspatrolledtext]] only accepts raw text. Everything is rendered as raw text, no span tags are possible for example (for adding id, class, color, etc.). In [[MediaWiki:Markaspatrolleddiff]] and [[MediaWiki:Markedaspatrolledtext]] this is possible, so please allow HTML and/or Wiki syntax in MediaWiki:Markaspatrolledtext, too (as this can be very helpful).


Version: unspecified
Severity: normal
URL: http://als.wikipedia.org/wiki/MediaWiki:Markaspatrolledtext

Details

Reference
bz10612

Event Timeline

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

robchur wrote:

It's a link label; we don't usually allow anything other than raw text in these.

Wiki.Melancholie wrote:

You did so in [[MediaWiki:Markedaspatrolledtext]], for example. And this for good reasons (it's-up-to-you-adaptability > id, class, style, ...); no need for restricting it more than other MediaWiki messages.

robchur wrote:

However, that message is supposed to contain an explanation; it's standard for us to allow wiki text in such messages. As I explained above, "markaspatrolledtext" is a link label, and it's *not normal* to allow wiki text there.

The link itself is wrapped in a <div> with class "patrollink", so it's quite possible to style this normally using CSS.