Last modified: 2006-05-02 12:12:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5371 - Templates are not evaluated in special pages (when included in wiki text type MediaWiki messages)
Templates are not evaluated in special pages (when included in wiki text type...
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-03-27 11:33 UTC by lɛʁi לערי ריינהארט
Modified: 2006-05-02 12:12 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description lɛʁi לערי ריינהארט 2006-03-27 11:33:54 UTC

Sorry for this:
If [[MediaWiki:Recentchengestext]] includes a template like
it will render properly at [[MediaWiki:Recentchangestext]] but
*not* at [[special:Recentchanges]]

are showing the same diff.

The revision using templates will render three {{{text}}} at

There is a workaround using {{subst:}}. However this solution would require a
modification of all involved MediaWiki messages each time the template /
templates is / are changed.

I did *not* experience such limitations during summer last year.

best regards reinhardt [[user:gangleri]]
Comment 1 Brion Vibber 2006-03-27 18:44:08 UTC
Seems fine to me. Create a *VERY SPECIFIC* and *LEGIBLE* test case please.

Comment 2 lɛʁi לערי ריינהארט 2006-05-02 11:53:43 UTC
Sorry for the delay Brion!

I added [[yi:template:dir rtl]] at [[yi:MediaWiki:Perfcachedts]].

However at [[yi:special:Ancientpages]] the template renders as {{{text}}} .
This should be the case also at other special pages which are cached.

You are a [[yi:special:Listusers/sysop]] at [[yi:]]. If you revert to
you will can see at [[yi:special:Recentchanges]] the problem reported originaly .

As far as I know 'MediaWiki:Recentchangestext' allows wiki syntax. The original
question was why [[yi:template:dir rtl]] and [[yi:template:dir ltr]] render
there as {{{text}}} .

best regards reinhardt [[user:gangleri]]
Comment 3 Rob Church 2006-05-02 12:12:12 UTC
Unable to reproduce on a local wiki running 1.7alpha (r14015).
Steps taken:

1. Switch on $wgMiserMode
2. Create test template {{foo}} and whack some basic text in
3. Edit MediaWiki:Perfcachedts to include {{foo}}
4. Run updateSpecialPages.php

Viewing, e.g. Special:Wantedpages shows up the message at the top, as expected,
with the contents of the template transcluded and parsed, as expected. 

Looking at the template, it appears that it expects a parameter named "text" to
be passed. Dumping {{dir rtl}} in a message will cause the template to be parsed
as expected; the absence of a "text" parameter causes {{{text}}} to be dumped as


Note You need to log in before you can comment on or make changes to this bug.