UserProfile
(Redirected from Gadgets:UserProfile)
Jump to navigation
Jump to search
userProfile is a gadget for wikis to show user data and statistics on profile pages.
Installation instructions
- You need to be a local/community admin on your wiki to follow these steps, since it involves editing pages in the MediaWiki namespace.
- Copy the contents of MediaWiki:Gadget-userProfile to your wiki. This is the translation string that will display when people look at information about the gadget, so you can modify it if needed.
- Copy the source code to your wiki. This includes the contents of the following pages:
- At MediaWiki:Gadgets-definition on your wiki, APPEND ONE of the following three options, depending on what config option you want.
* userProfile[ResourceLoader|dependencies=mediawiki.api,mediawiki.interface.helpers.styles|default|hidden]|userProfile.js|userProfile.css
= it's available to everyone with no opt-out ability* userProfile[ResourceLoader|dependencies=mediawiki.api,mediawiki.interface.helpers.styles|default]|userProfile.js|userProfile.css
= it's available to everyone but you can opt out in your user page* userProfile[ResourceLoader|dependencies=mediawiki.api,mediawiki.interface.helpers.styles]|userProfile.js|userProfile.css
= by default it's not turned on, but you can turn it on in settings
- You may have to wait somewhere between 5 and 15 minutes at this time for server-side cache to update.
- Done! Make sure you cache refresh on your browser (Ctrl+F5) on the upload page to see changes.