From f03f63079b395cb2bf693ce4130546ffe93a319d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 15 Jan 2024 19:38:19 -0400 Subject: yaml: don't write filtered-out contribs --- src/data/yaml.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/data') diff --git a/src/data/yaml.js b/src/data/yaml.js index 5a4e87e3..819c639f 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -1783,6 +1783,15 @@ export function filterReferenceErrors(wikiData) { writeProperty = false; break; + + case '_contrib': + // Don't write out contributions - these'll be filtered out + // for content and data purposes automatically, and they're + // handy to keep around when update values get checked for + // art tags below. (Possibly no reference-related properties + // need writing, humm...) + writeProperty = false; + break; } if (value === undefined) { -- cgit 1.3.0-6-gf8a5