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

Content deleted Content added
m rv last change
cludge changes
Line 400:
// remove state/district name
page_name = page_name.split(",")[0];
page_name = page_name.split(" \(")[0];
 
if (orig_infobox_params["native_name"]
&& (orig_infobox_params["native_name"] != page_name)
&& (orig_infobox_params["native_name"] != "{{PAGENAME}}")) {
&& native_name != ""
) {
native_name = orig_infobox_params["native_name"];
}