Skip to content

Commit

Permalink
ignore 'Vorlage:Veraltet'
Browse files Browse the repository at this point in the history
  • Loading branch information
koelnconcert committed Oct 19, 2020
1 parent 3447693 commit 017d0eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions DK.pm
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ sub mod_datumsformat {
vorlage($bb, "PND") and
vorlage($bb, "DOI") and
vorlage($bb, 'exzellent|lesenswert|informativ') and
vorlage($bb, 'lückenhaft') and
vorlage($bb, 'belege fehlen') and
vorlage($bb, 'lückenhaft|belege fehlen|veraltet') and
1
);
}
Expand Down
5 changes: 3 additions & 2 deletions DK.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use strict;
use utf8;
use Test::More tests => 262;
use Test::More tests => 263;
use DK;
use MockWikiPage;
use Data::Dumper;
Expand Down Expand Up @@ -315,10 +315,11 @@ sub test_special_params {
notfound('{{Informativ|01. August 2018|179607316}}');
notfound('{{Infobox Rechtsakt (EU)| Fundstelle = ABl. L 309 vom 25.11.2005, S. 9–12 }}');
notfound('{{lückenhaft|Australien schaltet zum 31.12.2017 ab.}}');
notfound('{{Lückenhaft|1=Leider ist es noch sehr Lückenhaft, Stand: 03. Dezember 2014 (CET)|2=In diesem Abschnitt}}');
notfound('{{überarbeiten|grund=in 1.1.18 wird}}');
notfound('{{belege fehlen|01. August 2018}}');
notfound('{{LAGIS|ref=nein|DB=OL|ID=15259|titel=Beerfelden, Stadtgemeinde (1.7.1971-31.12.2017), Odenwaldkreis}}');
notfound('{{Lückenhaft|1=Leider ist es noch sehr Lückenhaft, Stand: 03. Dezember 2014 (CET)|2=In diesem Abschnitt}}');
notfound('{{Veraltet|<Bezug>|wurde mit 31.3.2016 eingestellt.|seit=2016}}');
}

sub test_special {
Expand Down

0 comments on commit 017d0eb

Please sign in to comment.