Last modified: 2011-03-13 18:04:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10179, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8179 - Forcing template substitution in signatures should have an option in localsettings.php
Forcing template substitution in signatures should have an option in localset...
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
PC Windows XP
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 11414 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-12-07 13:30 UTC by Sam Horn
Modified: 2011-03-13 18:04 UTC (History)
4 users (show)

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

Add variable to DefaultSettings.php (504 bytes, patch)
2006-12-18 12:45 UTC, Sam Horn
Uses a new variable to determine whether to add SUBST: to templates in nickname (765 bytes, patch)
2006-12-18 12:48 UTC, Sam Horn

Description Sam Horn 2006-12-07 13:30:32 UTC
Currently, if you enter a template (such as {{User:Super Sam/sig}}) into the
Nickname field in user preferences, it will be automatically changed into a
substitution (such as {{SUBST:User:Super Sam/sig}}).

Although this is necessary on large wikis such as Wikipedia, on many smaller
wikis, the substitution is not necessary and is sometimes considered an
inconvenience. There should probably be a variable that can be set in
localsettings.php that can enabled or disable this substitution. There's a
probably solution at
(, but I
don't know if it affects anything else. (The code shown on that page now starts
at around Line 3724, now 3455.)
Comment 1 Sam Horn 2006-12-08 06:30:25 UTC
Could somebody please tell me why this was marked WONTFIX?
Comment 2 Sam Horn 2006-12-18 12:45:54 UTC
Created attachment 2897 [details]
Add variable to DefaultSettings.php
Comment 3 Sam Horn 2006-12-18 12:48:51 UTC
Created attachment 2898 [details]
Uses a new variable to determine whether to add SUBST: to templates in nickname

Correction of previous attachment, which was wrong file
Comment 4 Sam Horn 2006-12-18 12:54:04 UTC
Bleh. Apologies for all the changes and such, they were a result of me pressing
the wrong checkbox and choosing the wrong file.

Anyway, I reopened this (as I don't know why it was closed) and I made a patch
that hopefully shouldn't affect anything else.
Comment 5 Sam Horn 2007-01-14 13:06:18 UTC
I did some testing with this code, and found out that it never substitutes, even
when it should.
Comment 6 Rob Church 2007-06-11 07:10:05 UTC
Not much point to this; even small sites can benefit from not having to worry that users might cause a large number of, for example, link table updates just by changing their signatures.
Comment 7 Anon Sricharoenchai 2009-02-23 06:58:42 UTC
*** Bug 11414 has been marked as a duplicate of this bug. ***
Comment 8 Anon Sricharoenchai 2009-02-23 07:03:20 UTC
see also: Bug 12495

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