Thats why things like that are extensions: http://www.mediawiki.org/wiki/Extension:UserFunctions
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Rolf Lampa wrote:
Platonides skrev:
Rolf Lampa wrote:
Is there a way to retrieve the current user name with wiki-syntax, like so: {{USER}} ( returning: "User:Rolf Lampa" )
No, as that would break caching.
Ah, you only regard use for Wikipedia... =). I use MW also for many small sites where I'ld have very good use of such a feature.
It's available for javascript as wgUserName, though.
That'll do, I think. Thx.
// Rolf Lampa _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l