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.

විකිපීඩියා:Editnotice/linkdemo

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.

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 {{editnotice loader}} into these pages:

  • MediaWiki:Editnotice-2-Yourname
  • MediaWiki:Editnotice-3-Yourname – For your talk 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.


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Editnotice_loader/doc&oldid=109736" වෙතින් සම්ප්‍රවේශනය කෙරිණි