summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xproposals.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/proposals.py b/proposals.py
index dc770b4..35a7f38 100755
--- a/proposals.py
+++ b/proposals.py
@@ -63,7 +63,7 @@ def is_stub(doc):
for page in osmwiki.query_pages(
generator='embeddedin',
- geititle='Template:Proposal Page',
+ geititle='Template:Proposal page',
geilimit='max',
prop='revisions',
rvprop='content',
@@ -73,7 +73,8 @@ for page in osmwiki.query_pages(
text = page['revisions'][0]['slots']['main']['content']
doc = mwparserfromhell.parse(text)
proposal_page_templates = doc.filter_templates(
- matches=lambda t: t.name.matches('Proposal Page')
+ matches=lambda t: t.name.matches('Proposal page')
+ or t.name.matches('Proposal Page')
)
if not proposal_page_templates: