Extension:GetUserName

This extension IS maintained, it works even with the latest versions of MediaWiki (tested with 1.27). I find it to be a useful function, albeit extremely simple and not useful for large wikis, but if I'm the only one using it, or there are other extensions which do the same thing but better (e.g. MyVariables), I suppose that it makes sense to delete it.

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

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