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. 我将这段内容添加至我的页面： Create a document "User:/Draft-"

代码

 * GetUserName.php