ବ୍ୟବହାରକାରୀ:Snip1/Migrate Infobox Indian Jurisdiction to Infobox settlement
ଏହି କୋଡ୍ର ମୂଳ ଲେଖକ User:Utcursch ଅଟନ୍ତି ଓ ମୂଳ ଲେଖା ଏଠାରେ ରହିଛି । |
If you use this script, please don't forget to use "Show preview" before saving the changes. Some infoboxes may contain complex syntax not handled by this script. |
Back in 2011, it was decided that {{Infobox Indian jurisdiction}} would be deleted, since {{Infobox settlement}} makes it redundant. This script aims to make the migration from {{Infobox Indian jurisdiction}} to {{Infobox settlement}} easier.
Installation
ସମ୍ପାଦନାTo install this script, add the following code to your user script page:
migrateIIJ = { auto_replace: true };
importScript('ବ୍ୟବହାରକାରୀ:ଶିତିକଣ୍ଠ ଦାଶ/Migrate Infobox Indian Jurisdiction to Infobox settlement/main.js');
Save and bypass your cache (Ctrl + F5 for most browsers).
Next time you edit a page, the script will search for {{Infobox Indian jurisdiction}} and replace it with {{Infobox settlement}}.
Note
ସମ୍ପାଦନାIf you do not want the script to automatically replace the infobox, use the following code:
migrateIIJ = { auto_replace: false };
importScript('ବ୍ୟବହାରକାରୀ:ଶିତିକଣ୍ଠ ଦାଶ/Migrate Infobox Indian Jurisdiction to Infobox settlement/main.js');
This will add a link at the top of the page (visible only in the editing mode). Clicking on it will replace {{Infobox Indian jurisdiction}} with {{Infobox settlement}}.