From 9b520842009f22f6eb71ad492b0e627d7f9707bd Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Thu, 12 Nov 2020 10:17:47 -0500 Subject: [PATCH] We will want templates expanded before we run the wikidata script too (so the expanded items have identifiers) --- scripts/build_wikidata.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build_wikidata.js b/scripts/build_wikidata.js index c02ff3fa07b..529afbabc6c 100644 --- a/scripts/build_wikidata.js +++ b/scripts/build_wikidata.js @@ -108,6 +108,7 @@ let _cache = {}; fileTree.read('brands', _cache, loco); fileTree.read('operators', _cache, loco); fileTree.read('transit', _cache, loco); +fileTree.expandTemplates(_cache, loco); // gather QIDs..