aude added a comment.
problem is with https://gerrit.wikimedia.org/r/#/c/288024/ and use of LabelDescriptionLookup (with EntityInfoTermLookup). ParserOutput generation happens before/during save and before the terms table is updated. EntityInfoTermLookup, via SqlEntityInfoBuilder) collects terms from the terms table which still has old terms at the time ParserOutput (e.g. html) is generated. Instead, we should use the LabelsProvider (and DescriptionsProvider), as done previously. These are already available in SimpleEntityTermsView and are associated with the version of the entity being saved. We still want to provide language fallback. An in-memory term lookup could work or something else. TASK DETAIL https://phabricator.wikimedia.org/T135714 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: aude, Aklapper, Zppix, daniel, Lydia_Pintscher, adrianheine, hoo, D3r1ck01, Izno, Wikidata-bugs, Mbch331 _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
