User:Equazcion/ToggleEditNotices
Appearance
- This is the documentation page for the ToggleEditNotices.js user script.
ToggleEditNotices allows you to toggle the display of edit notices that appear at the top of many pages during editing. A link is displayed during editing that dynamically hides or displays the page's edit notices.
Note that the toggle link is displayed whether or not a page actually has an edit notice. If you click the toggle link and nothing happens, it is likely because the page you are editing does not have an edit notice.
To use this script: Copy the line below, then click here, paste the line, and hit the save button.
importScript('User:Equazcion/ToggleEditNotices.js'); //Linkback: [[User:Equazcion/ToggleEditNotices]]
The default state is to display edit notices. To change the default to hidden, use the following code instead:
var HideEditNotices = true;
importScript('User:Equazcion/ToggleEditNotices.js'); //Linkback: [[User:Equazcion/ToggleEditNotices]]