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 13:14, 30 September 2013 (Instructions for use.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Browser/skin compatibility table
Browser\Skin Vector MonoBook Modern Cologne Blue
Chrome 29 untested untested untested untested
FireFox 24 Works 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
Updatedlast update date
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.

[[?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/page |?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/page]]

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.