This template should always be substituted (i.e., use {{subst:Deltab}} ). |
This code will add an "X deletion" tab to your edit screen. When you press that tab, the following line will be automatically added to the page (using {{subst:deletion sorting}}):
X is whatever topic area you have specified. For instance, if you selected "China," the line would be:
This script only works for pages in the Wikipedia: namespace if they have "for discussion" or "for deletion" in their pagenames (for example, Wikipedia:Articles for deletion or Wikipedia:Categories for discussion).
To use this script, add the following line to your monobook.js file and then clear your cache:
{{subst:Deltab|X}}
Replace X with your area of interest. Thus, if your area of interest is China, you would type:
{{subst:Deltab|China}}
Alternatively, you can add the above code to a different subpage of yours - the name does not matter, as long as it ends in .js - and then add this line to your monobook.js:
importScript('User:Your_user_name/name_of_page.js');
So, for instance, if you named the page "delsort.js" (and your username happened to be "Example"), you would add this to your monobook.js:
importScript('User:Example/delsort.js');
Save changes, flush your cache and you're ready to start tagging discussions!
Sources: User:RandyWang/autovgdeletion, User:Dinoguy1000/scripts/amdelsort.js and User:Dinoguy1000/scripts/delsort.js (with help from User:Ioeth)
This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |