Merge the model's freshly-extracted facts with the article's existing infobox
into the final ordered field list. EXISTING facts are placed first so
buildInfoboxFields' first-occurrence-wins keeps a grounded [[wikilink]] (a
<entity_key>: [[Linked Entity]] already in the vault) sticky — a refresh adds
new keys and the declared aliases, it never degrades a linked fact to a bare scalar or drops
one. With no existing infobox this is a pure CREATE (only the model's facts).
Merge the model's freshly-extracted facts with the article's existing infobox into the final ordered field list. EXISTING facts are placed first so
buildInfoboxFields' first-occurrence-wins keeps a grounded [[wikilink]] (a<entity_key>: [[Linked Entity]]already in the vault) sticky — a refresh adds new keys and the declared aliases, it never degrades a linked fact to a bare scalar or drops one. With no existing infobox this is a pure CREATE (only the model's facts).