Extension:GetUserName/zh

The GetUserName extension allows to obtain the current user's name from  and insert it on a page.

用法
When  is found in the page, it will replace it with the current user name. I wrote this because I wanted to make a link where the users could create draft documents easily, with unique names, in their user namespace. I added this to my page: Create a document "User:/Draft-"

This extension isn't suitable for large wikis or long pages, because the cache is invalidated for pages using this extension (see Extension_talk:GetUserName page).