User:Egel/UserRights.js
From ScoutMedia, the free scout media repository
< User:Egel(Redirected from Gebruiker:Egel/UserRights.js)
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** userRights (for Bureaucrats only) **/ addOnloadHook(function () { if (wgNamespaceNumber != 2 && wgNamespaceNumber != 3) // User or User talk return; var user = wgTitle.split("/")[0]; var url = wgScript + "?title=Special:UserRights&user=" + encodeURIComponent(user); addPortletLink("p-tb", url, "Gebruikersrechten", "t-userrights", "Lijst van gebruikersgroepen van "+user); });