[Mediawiki-l] User Variable for Use in Templates

Stéphane Thibault thibault.stephane at gmail.com
Mon Feb 6 12:22:22 UTC 2006

Hey everyone,

> We don't have a {{USERNAME}} variable. It's been requested about 3
> times, and each request has been rejected for a good reason; it would
> defeat page caching completely. This would not be helpful.
> Rob Church

With my level of technical knowledge, I'm not exactly sure why this  
would defeat page caching. Do you have a link or two to suggest so I  
would understand better what's at stake here.

I was really planning on relying heavily on this template for the  
design of the wiki I manage and I wouldn't want to hack something in  
that might cause more problems than it solves...


> On 04/02/06, Stéphane Thibault wrote:
>> Hey guys, here's what I'm trying to do.
>> I'm setting up a MediaWiki website for a scientific association and
>> instead of relying only on collaborative writing, it's also important
>> that members be allowed to write "signed" articles on a subject that
>> may already exist.
>> What I'd like to do is include a string in the
>> [[MediaWiki:Nogomatch]] that would allow the user to create the
>> desired article after a failed search, redirecting him to this page:
>> User:Username/Article
>> The original article page would then act as a disambiguation page
>> listing all articles written on a particular topic.
>> It should be simple enough but I just can't find the proper variable
>> to use for the username in my template. I looked at theses pages:
>> http://meta.wikimedia.org/wiki/Help:Variable
>> http://meta.wikimedia.org/wiki/Help:Magic_words
>> but couldn't find what I'm looking for. Any hints? Is there a built
>> in template maybe for "wgUser"? Or maybe even a simpler way to
>> achieve this goal?
>> I originally posted my question over here if anyone's interested on
>> this topic:
>> http://www.mwusers.com/forums/showthread.php?t=999
>> Thanks,
>> Stéphane

More information about the MediaWiki-l mailing list