Extension:GetUserName

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

Usage
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-"

Code

 * GetUserName.php