[Mediawiki-l] get current logged-in username

Morten Blaabjerg morten at crewscut.com
Mon Jul 31 22:04:57 UTC 2006


There is no default magic word for this in MW (AFAIK).

This extension creates a new magic word {{USERNAME}}:
http://meta.wikimedia.org/wiki/User_homepages

It might be worth a try.

Best wishes,
Morten :-)

--
Crews Cut Production
Morten Blaabjerg
Danmarksgade 97 - DK-5000 Odense C
Tlf. 65 90 60 88 / 51 80 91 55
http://morten.crewscut.com
morten at crewscut.com


----- Original Message ----- 
From: "Imtiyaz S." <imtiyaz_sh at hotmail.com>
To: <mediawiki-l at Wikimedia.org>
Sent: Monday, July 31, 2006 7:33 PM
Subject: [Mediawiki-l] get current logged-in username


>I want to put a default category for new pages as the "logged-in user
> drafts"
> [[Category: Username Drafts]]
> so as to keep 'work in progress' seperate from articles that are complete.
> Is there a keyword or a simple tweak to get current username?
> thanks
> - imti
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 





More information about the MediaWiki-l mailing list