Jump to content

User:Technical 13/Scripts/admin eye

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Technical 13 (talk | contribs) at 04:07, 19 December 2014 (This script also has an access-key of {{Keypress|Alt|Shift|A}} so you can toggle the modes in the middle of the page.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Browser/skin compatibility table
Browser\Skin Vector MonoBook Modern Cologne Blue
Chrome 29 untested untested untested untested
FireFox 23 untested untested untested untested
IE 7 untested untested untested untested
Opera 12.16 untested untested untested untested
Opera 16 untested untested untested untested
Safari 5 untested untested untested untested
admin eye
Author(s)Technical 13
StatusStable
UpdatedSeptember 7, 2018
    (6 years ago)
BrowsersFirefox 24
SkinsVector
SourceUser:Technical 13/Scripts/admin eye.js

This script adds a link that will toggle all sections with class="admin-show" which are designed for notes hidden on page for administrators to remind them of the process in completing tasks. Most users do no need this ability to see these instructions, unless of course you happen to be a template or script coder and are working on a script to help administrators do their tasks. If that is the case, than short of making those messages always on (there is really nothing special to see and they often clutter the screen), this script is invaluable to be able to toggle back and forth and see both.

This script also has an access-key of Alt+⇧ Shift+A so you can toggle the modes in the middle of the page.

[[?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug |?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug]] [[?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature |?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature]]

Using this script

On the English Wikipedia

This script can be imported to your common.js by adding:

importScript( 'User:Technical 13/Scripts/admin_eye.js' );// [[User:Technical 13/Scripts/admin_eye]]

Step two

Once you have saved the above to your common.js, you will have to WP:BYPASS your cache to see the effects.