<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FGet_user_name</id>
	<title>MyWiki:WikiProject User scripts/Scripts/Get user name - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FGet_user_name"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Get_user_name&amp;action=history"/>
	<updated>2026-04-22T17:54:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Get_user_name&amp;diff=2575806&amp;oldid=prev</id>
		<title>imported&gt;TheDJ: TheDJ changed the content model of the page Wikipedia:WikiProject User scripts/Scripts/Get user name from &quot;wikitext&quot; to &quot;JavaScript&quot;</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Get_user_name&amp;diff=2575806&amp;oldid=prev"/>
		<updated>2018-04-05T08:28:56Z</updated>

		<summary type="html">&lt;p&gt;TheDJ changed the content model of the page &lt;a href=&quot;https://en.wikipedia.org/wiki/WikiProject_User_scripts/Scripts/Get_user_name&quot; class=&quot;extiw&quot; title=&quot;wikipedia:WikiProject User scripts/Scripts/Get user name&quot;&gt;Wikipedia:WikiProject User scripts/Scripts/Get user name&lt;/a&gt; from &amp;quot;wikitext&amp;quot; to &amp;quot;JavaScript&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*&amp;lt;pre&amp;gt;*/&lt;br /&gt;
/*This script gets a username from the current page&lt;br /&gt;
Example: On [[User:Digitalme/getusername.js]], getUserName() would return Digitalme&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
function getUserName(){&lt;br /&gt;
    return mw.config.get(&amp;#039;wgRelevantUserName&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
/*&amp;lt;/pre&amp;gt;[[Category:Wikipedia scripts]]*/&lt;/div&gt;</summary>
		<author><name>imported&gt;TheDJ</name></author>
	</entry>
</feed>