Template talk:Unsigned2

From NetHackWiki
Jump to navigation Jump to search

ease of use

I wish the template could {{subst: the appropriate anonymous contributor all by itself. Usually, it's the last editor of the page. Please make the template look up the correct "input" parameters all by itself. Tjr 00:32, 14 November 2010 (UTC)

I (hope I) made the first argument default to {{#time: H:i, j M Y|{{REVISIONTIMESTAMP}}}} (UTC), and the second one to {{REVISIONUSER}}. --Tjr 02:46, 14 November 2010 (UTC)

Didn't work.Tjr 02:56, 14 November 2010 (UTC)

You could try it with {{<includeonly>safesubst:</includeonly>REVISIONUSER}} etc., but I don't think that's going to work: it'll just show your username and the time you edited the page. I don't think MediaWiki has any parser function to get information about the previous editor. I suppose one could be written, though. (It probably wouldn't be quite as useful on busy wikis, but you're right, here there's a good chance that whoever left the comment was the previous editor.) --Ilmari Karonen 03:16, 14 November 2010 (UTC)