ବ୍ୟବହାରକାରୀ:Snip1/Migrate Infobox Indian Jurisdiction to Infobox settlement

ଉଇକିପିଡ଼ିଆ‌ରୁ

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}}.