Jump to content
Wikipedia The Free Encyclopedia

Wikipedia:WikiProject User scripts/Scripts/Get user name

From Wikipedia, the free encyclopedia
 /*<pre>*/
 /*This script gets a username from the current page
 Example: On [[User:Digitalme/getusername.js]], getUserName() would return Digitalme
 */

 functiongetUserName(){
 returnmw.config.get('wgRelevantUserName');
 }
 /*</pre>[[Category:Wikipedia scripts]]*/

AltStyle によって変換されたページ (->オリジナル) /