Page MenuHomePhabricator

HTML and wiki-links in MediaWiki:Tagline are discarded
Closed, ResolvedPublic

Description

For several applications I need the possibility to have [[Internal]] and
[http://www.external.org] links rendered in [[MediaWiki:Tagline]] strings.

Currently, this is not the case.

For me it looks like a bug, because the other similar message
[[MediaWiki:sitenotice]] which is shown above the page title, allows both
[[Internal]] and [http://www.external.org] links !


Version: 1.6.x
Severity: normal

Details

Reference
bz4187

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:59 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz4187.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

(In reply to comment #0)

... For me it looks like a bug, ...

This is "how it is". MediaWiki messages are / can be handeled differently. I
experienced this for many messages. The only way to find it out is to look in
the php code, to use the trial and error method *and* to hope that the message
will not be handeled differently in comming releases.

This is at least the *third* bug report on that topic during the last three
days. I proposed some times ago
Bug 2453: [[Special:Allmessages]] should provide information about the type of
the MediaWiki message

A common table with these types could help
a) to generate this type information in [[Special:Allmessages]]
b) to use common functions where this additional information is implemented /
updated consitently.

best regards reinhardt [[user:gangleri]]

can someone _please_ fix that problem, that tagline does neither allow HTML nor
Wiki-syntax links ?
I need that working

robchur wrote:

You selected 1.5-cvs. Is it fixed in HEAD?

is a duplicate description of Comment #8 in bugzilla 3208
http://bugzilla.wikipedia.org/show_bug.cgi?id=3208#c8

When can we expect to have this solved ?

  • This bug has been marked as a duplicate of 3208 ***

(In reply to comment #3)

You selected 1.5-cvs. Is it fixed in HEAD?

Rob, i just checked this for MediaWiki:tagline : NOT fixed in HEAD, i.e. wiki
syntax in tagline is ignored. Should be pleased solved -- who can solve this and
similar inconsistently not working wiki formatting in certain message text ?

(In reply to comment #0)
For those who need [[MediaWiki:tagline]] messages with HTML and Wiki-formatted texts (which is currently not
possible), the attached very simple patch is suggested for CVS-HEAD and similar products:

/skins/Monobook.php
change line 84 (or search for 'tagline')

<h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
to
<h3 id="siteSub"><?php $this->msgWiki('tagline') ?></h3>

I will submit a regular patch as soon as the cvs access to sf.net is working again (which is currently not the
case for me for an unknown reason).

I also ask the experts to review my patch - if it could negative side effects

Created attachment 1178
regular patch for CVS-HEAD to show the tagline and allowing wikified texts and links

Attached: