Last change
on this file since 14595 was 11363, checked in by Klumbumbus, 8 years ago |
don't warn if walking route relations with religion tag don't have an denomination tag
|
-
Property svn:eol-style
set to
native
|
File size:
1.9 KB
|
Line | |
---|
1 | /* absent/unknown denomination (ticket #7811) */
|
---|
2 |
|
---|
3 | *[religion =~ /^(christian|jewish|muslim)$/][!denomination][type!=route] {
|
---|
4 | throwOther: tr("religion without denomination");
|
---|
5 | group: tr("missing tag");
|
---|
6 | assertMatch: "node religion=christian";
|
---|
7 | assertNoMatch: "node religion=christian denomination=catholic";
|
---|
8 | assertNoMatch: "node religion=foobar";
|
---|
9 | }
|
---|
10 |
|
---|
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)$/] {
|
---|
12 | throwOther: tr("unknown christian denomination");
|
---|
13 | assertMatch: "node religion=christian denomination=foobar";
|
---|
14 | assertNoMatch: "node religion=christian denomination=catholic";
|
---|
15 | assertNoMatch: "node religion=christian";
|
---|
16 | }
|
---|
17 |
|
---|
18 | *[religion=muslim][denomination][denomination !~ /^(alaouite|druze|ibadi|ismaili|nondenominational|shia|sunni)$/] {
|
---|
19 | throwOther: tr("unknown muslim denomination");
|
---|
20 | assertMatch: "node religion=muslim denomination=foobar";
|
---|
21 | assertNoMatch: "node religion=muslim denomination=alaouite";
|
---|
22 | assertNoMatch: "node religion=muslim";
|
---|
23 | }
|
---|
24 |
|
---|
25 | *[religion=jewish][denomination][denomination !~ /^(alternative|ashkenazi|conservative|hasidic|humanistic|liberal|modern_orthodox|neo_orthodox|nondenominational|orthodox|progressive|reconstructionist|reform|renewal|samaritan|ultra_orthodox)$/] {
|
---|
26 | throwOther: tr("unknown jewish denomination");
|
---|
27 | assertMatch: "node religion=jewish denomination=foobar";
|
---|
28 | assertNoMatch: "node religion=jewish denomination=alternative";
|
---|
29 | assertNoMatch: "node religion=jewish";
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.