User:Utcursch/Migrate Infobox Indian Jurisdiction to Infobox settlement/main.js: Difference between revisions

Content deleted Content added
remove display=title from coord comments to stop page showing up in Category:Pages with malformed coordinate tags
update
Line 397:
}
 
var page_name = mw.config.get('wgPageName').replace(/_/g, " ");
// remove state/district name
page_name = page_name.split(",")[0];
Line 689:
if (migrateIIJ.auto_replace == true) {
// migrate the infobox
if (mw.config.get('wgAction') === "edit") {
migrateIIJ.migrateInfoboxIJ();
}