Last change
on this file since 9950 was 9729, checked in by Klumbumbus, 9 years ago |
see #12288 - do not warn about unknown christian denomination for denomination=spiritist
|
-
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] {
|
---|
4 | throwOther: tr("religion without denomination");
|
---|
5 | assertMatch: "node religion=christian";
|
---|
6 | assertNoMatch: "node religion=christian denomination=catholic";
|
---|
7 | assertNoMatch: "node religion=foobar";
|
---|
8 | }
|
---|
9 |
|
---|
10 | *[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 | throwOther: tr("unknown christian denomination");
|
---|
12 | assertMatch: "node religion=christian denomination=foobar";
|
---|
13 | assertNoMatch: "node religion=christian denomination=catholic";
|
---|
14 | assertNoMatch: "node religion=christian";
|
---|
15 | }
|
---|
16 |
|
---|
17 | *[religion=muslim][denomination][denomination !~ /^(alaouite|druze|ibadi|ismaili|nondenominational|shia|sunni)$/] {
|
---|
18 | throwOther: tr("unknown muslim denomination");
|
---|
19 | assertMatch: "node religion=muslim denomination=foobar";
|
---|
20 | assertNoMatch: "node religion=muslim denomination=alaouite";
|
---|
21 | assertNoMatch: "node religion=muslim";
|
---|
22 | }
|
---|
23 |
|
---|
24 | *[religion=jewish][denomination][denomination !~ /^(alternative|ashkenazi|conservative|hasidic|humanistic|liberal|modern_orthodox|neo_orthodox|nondenominational|orthodox|progressive|reconstructionist|reform|renewal|samaritan|ultra_orthodox)$/] {
|
---|
25 | throwOther: tr("unknown jewish denomination");
|
---|
26 | assertMatch: "node religion=jewish denomination=foobar";
|
---|
27 | assertNoMatch: "node religion=jewish denomination=alternative";
|
---|
28 | assertNoMatch: "node religion=jewish";
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.