Last modified: 2011-03-13 18:04:33 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 T5856, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3856 - Allow certain variables to be substituted in signatures
Allow certain variables to be substituted in signatures
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.6.x
All All
: Lowest enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/WP:HD#Ti...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-01 23:39 UTC by HorsePunchKid
Modified: 2011-03-13 18:04 UTC (History)
0 users

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


Attachments

Description HorsePunchKid 2005-11-01 23:39:52 UTC
The relevant discussion is at the attached URL. The idea was to allow ''at
least'' certain variables, such as CURRENTYEAR, CURRENTMONTH, and CURRENTDAY2 to
be used with subst in user signatures. A very useful application would be a
signature of the form:

[[{{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY2}}]]

which would allow timestamps in signatures to be localized according to user
preferences.

While I'm not positive that this is currently impossible, I did test it on my
own account at the en WP, and the templates subst directives were left unparsed.
Comment 1 Ævar Arnfjörð Bjarmason 2005-11-02 00:13:47 UTC
We deleberetly use the default option of the content language rather than the
user preference as the date format to maintain a uniform look.
Comment 2 BrokenSegue 2005-11-03 18:45:36 UTC
This could be useful for templates where people want to show the time it was
added (I'm thinking about http://en.wikipedia.org/wiki/Template:No_source). 
Comment 3 Super-Magician 2005-11-04 22:26:57 UTC
Although I voted for this bug, I should point out that at 
[[m:Help:Template#subst]], it is indicated that the subst function is not 
suitable for a timestamp.

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


Navigation
Links