User Admin Tools

User Admin Tools (or user quicklinks) adds buttons and links to common moderation tools under a user's profile picture in their masthead. The script only activates if the logged in (script) user is part of the sysop (Administrator) local user group or one of the several global staff user groups. 
== Links ==
All buttons link to the page about the current user. In order of their appearance:
* Special:UserRights
* Special:Block
* Special:Log/block
* Special:AbuseLog (Only if Abuse Filter is enabled on the wiki)
* DiscussionsAFLog (Popup modal; Only if Discussions Abuse Filter is enabled on the wiki)
== ==
== Known bugs ==
* The buttons disappear if the user is viewing their own page, edit their profile, and close the editing view. This issue won't be fixed as such a use case isn't expected. Workaround: Reload the page.