Page MenuHomePhabricator

template calls in <nowiki> tags are transcluded when viewing on Special pages instead of ignored ("nowiki")
Closed, ResolvedPublic

Description

I noticed this at wikipedia with MediaWiki:Uploadtext & Special:Upload but other
Special pages may be affected too.

When i set at the message <nowiki>{{template}}</nowiki>, (showing ok at the
normal rendering) the special page renders it as _including_ it and then
treating it as nowiki, instead of nowikiing the template name.

Thus the internal template code was shown on the page, including tags as
<noinclude> and <includeonly>.

This can be workarounded using <nowiki>{{</nowiki>template<nowiki>}}</nowiki>.


Version: unspecified
Severity: major

Details

Reference
bz5656

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:11 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5656.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 5255 has been marked as a duplicate of this bug. ***
  • Bug 5742 has been marked as a duplicate of this bug. ***

webmaster wrote:

I still seeing this in MediaWiki 1.9alpha (r17555).

For me, not only MediaWiki:Uploadtext, but I tried it on MediaWiki:Newimages.
Could it just be the whole MediaWiki namespace?

robchur wrote:

Yes and no. The problem is due to the handling we use for wikitext messages
(I've explained it better in another bug here), and will have to be addressed on
a message-per-message basis, unless we do something drastic.

happy.melon.wiki wrote:

Is this still an open issue?