User:JeffDoozan/lists/template params/cleanup

From Wiktionary, the free dictionary
Jump to navigation Jump to search
# parameters that should be deleted from template calls
# formatted as "template_name": [ "badparam1", "badparam2", ...],
# will only remove a parameter if it is not supported by the template

REMOVE = {
    "cite-book": [ "accessyear", "accessmonth" ],
    "az-variant": [ "r", "l" ],
    "hu-verbpref": [ "sep" ],
    "en-symbol": [ "1" ],
    "en-det": [ "1" ],
    "en-part": [ "1" ],
    "en-prep": [ "1" ],
    "en-symbol": [ "1" ],
    "en-letter": [ "1", "upper", "lower" ],
}

# parameters that should be renamed in template calls
# formatted as "template_name": { "bad1":"good1", "bad2":"good2" },
# will only rename if the "bad" parameter name is not supported by the template,
# and the "good" parameter name is supported by the template

RENAME = {
    "cite-web": { "titel": "title" },
    "az-variant": { "c": "1", "a": "2" },
}

# parameters that should not be flagged as errors
# formatted as "template_name": [ "param1", "param2", ...],

IGNORE = {
     "hu-pos": [ "n" ],
}