Ignore:
Timestamp:
2019-03-09T21:59:55+01:00 (5 months ago)
Author:
Klumbumbus
Message:

fix #17249 - clean up religion and denomination, replace religion=unitarian by religion=unitarian_universalist, warn about religion=catholic, add religion=tenrikyo and religion=confucian, add icons (https://commons.wikimedia.org/wiki/File:Tenrikyo_emblem.svg and https://commons.wikimedia.org/wiki/File:%E6%9C%A8%E9%90%B8_---_Confucian_wooden-clapper_bell.svg, modified, PD and CC0 licensed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/religion.mapcss

    r11363 r14867  
    99}
    1010
    11 *[religion=christian][denomination][denomination !~ /^(anglican|apostolic|baptist|catholic|christian_community|christian_scientist|coptic_orthodox|czechoslovak_hussite|dutch_reformed|evangelical|foursquare|greek_catholic|greek_orthodox|jehovahs_witness|kabbalah|karaite|living_waters_church|lutheran|maronite|mennonite|methodist|mormon|new_apostolic|nondenominational|old_catholic|orthodox|pentecostal|presbyterian|protestant|quaker|roman_catholic|russian_orthodox|salvation_army|serbian_orthodox|seventh_day_adventist|spiritist|united|united_reformed|uniting)$/] {
     11*[religion=christian][denomination][denomination !~ /^(anglican|apostolic|baptist|catholic|church_of_scotland|christian_community|christian_scientist|coptic_orthodox|czechoslovak_hussite|dutch_reformed|evangelical|foursquare|greek_catholic|greek_orthodox|iglesia_ni_cristo|jehovahs_witness|kabbalah|karaite|living_waters_church|lutheran|maronite|mennonite|methodist|mormon|new_apostolic|nondenominational|old_catholic|orthodox|pentecostal|presbyterian|protestant|quaker|reformed|roman_catholic|romanian_orthodox|russian_orthodox|salvation_army|serbian_orthodox|seventh_day_adventist|spiritist|united|united_reformed|united|united_methodist|united_reformed|uniting)$/] {
    1212  throwOther: tr("unknown christian denomination");
    1313  assertMatch: "node religion=christian denomination=foobar";
     
    2929  assertNoMatch: "node religion=jewish";
    3030}
     31
     32*[religion=catholic] {
     33  throwWarning: tr("{0}", "{0.tag}");
     34  suggestAlternative: "religion=christian + denomination=catholic";
     35  fixChangeKey: "religion => denomination";
     36  fixAdd: "religion=christian";
     37}
Note: See TracChangeset for help on using the changeset viewer.