MediaWiki:Gadget-UserProfile.js

(function(mw, $){	$(function { if ((wgUserName !== null) && $('#pt-userpage>a').hasClass('new')) { if ((wgCanonicalNamespace === 'User') && (wgTitle === wgUserName)) { if (wgAction === 'view') { $.getScript('/extensions/WE/widgets/userProfile.js', function {							weUserProfile;					}); }			} else { mw.notify($(' WikiEducator is a community. Please take the time to complete your user profile. '), {autoHide: false}); }		}	}); }(mediaWiki, jQuery));