Last modified: 2009-02-23 06:58:42 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 11414 - Add variable to (dis)allow templates in signatures
Add variable to (dis)allow templates in signatures
Status: RESOLVED DUPLICATE of bug 8179
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-09-21 03:52 UTC by Christopher John Harrington
Modified: 2009-02-23 06:58 UTC (History)
2 users (show)

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


Description Christopher John Harrington 2007-09-21 03:52:15 UTC
Steps to reproduce:
1. Go into your preferences, and set your nickname to {{tl|tl}} on en.wikinews.
2. Save your preferences.
3. Watch your nickname get expanded to {{SUBST:tl|tl}}.

Ugly, bad, yuck, no.

One additional aspect is that it doesn't recursively expand. So a workaround is to have a template that transcludes the template you want.
Comment 1 Christopher John Harrington 2007-09-21 03:53:07 UTC
Oh, one key thing is that I only reproduced this on en.wikinews. Version page says MediaWiki: 1.12alpha (r25939).
Comment 2 Danny B. 2007-09-21 10:26:20 UTC
This is not a bug, this is feature... ;-)

I'm pretty sure this will be WONTFIX.
Comment 3 Christopher John Harrington 2007-09-21 13:51:23 UTC
Except that it produces an unexpected result with no explanation. Are templates disallowed in signatures or something? This should be a site policy thing, not a bug/feature of the software.
Comment 4 Brion Vibber 2007-09-21 14:43:58 UTC
Right, templates are disallowed in sigs.
Comment 5 Christopher John Harrington 2007-09-21 14:47:04 UTC
Why is that forced in code, as opposed to site policy?

As stated above, it is also easily circumvented. So enforcing policy in code also doesn't work.
Comment 6 Danny B. 2007-09-21 17:08:58 UTC
Some $wgAllowTemplatesInSignatures for LocalSettings.php with default false might be useful.
Comment 7 Danny B. 2008-02-16 13:18:38 UTC
Changed the summary to describe the issue better.
Comment 8 Anon Sricharoenchai 2009-02-23 06:58:42 UTC

*** This bug has been marked as a duplicate of bug 8179 ***

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