User:Davidgothberg/Editnotice loader/doc

This is the editnotice loader template. It takes no parameters.

This template was meant to be installed in the main "hyphen-style" editnotice for each namespace. It will then load user-friendly "slash-style" editnotices. It also adds links back and forth between the edit page and the editnotices thus making it easy to find and edit the notices. And it makes it possible for users to edit the notices for their user space. And it supplies both page specific notices and page group notices.

This template at the moment prints two small start and end messages. They are just for our testing. If/when we deploy this template we will remove those messages.

Link demo
Basically the loader will load at most three editnotices for each page, if those editnotices exist: The editnotice for the whole namespace, the editnotice for the current page group, and the editnotice for the current page. And it adds links back and forth.

Try it here
For demonstration and testing purposes this editnotice loader is already installed so it works for all the pages and talk pages under this template. Try editing the /sandbox or the talk page of this template and see the editnotices. And feel free to edit those notices to see the backlink to the subject page that this loader automatically puts there.

Try it in your user space
For testing you can transclude this template into the two hyphen-style main editnotices for your user space. That is, put this code into these pages: (If you are not an admin you need to ask an admin to do it for you. You can ask at the talk page here since then you will get help from an admin that is interested in editnotices.) Then you can start to use and test the user friendly slash-style editnotices for your user page and for all its subpages. Visitors to your pages will also see the slash-style editnotices when they for instance edit your talk page.
 * MediaWiki:Editnotice-2-Yourname
 * MediaWiki:Editnotice-3-Yourname – For your talk pages.