hoo created this task. hoo added projects: Wikidata, Wikibase-Lua, MediaWiki-extensions-WikibaseClient. Restricted Application added subscribers: Liuxinyu970226, Aklapper.
TASK DESCRIPTION As pointed out by @Tpt in T210926#4999461 <https://phabricator.wikimedia.org/T210926#4999461>: If Wikibase Client tries to format a coordinate (either via `entity:formatStatements()` in Lua or the `{{#statements:…}}` parser function), the user will need to manually preprocess the result of these expressions. That is unacceptable, as it breaks the current way these constructs are used, it is undocumented and also very inconvenient to use. As a solution, we should make sure we `Parser::preprocess` all (or just if `<mapframe>` is in there?) wikitext generated in `StatementTransclusionInteractor::formatSnaks`. For this to work, we will need to pass the current Parser instance through to that function :/ As (AFAIR) re-preprocessing already pre-processed wikitext is a noop, we can safely do this change. TASK DETAIL https://phabricator.wikimedia.org/T220122 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hoo Cc: Lea_Lacroix_WMDE, Lydia_Pintscher, Aklapper, hoo, Liuxinyu970226, Tpt, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
