We will parse messages PHP-side, before replacing parameters, and add the result (HTML potentially containing $1, etc.) to the parser output – most likely in mw.config under a name like dataBridgeMessages (analogous to dataBridgeConfig, but not a part of that). The JS-side code will then substitute the parameters without any further processing (but HTML-escaping them where necessary, of course)
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
bridge: add preparsed messages | mediawiki/extensions/Wikibase | master | +78 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T228066 Step 1: Error States of Data-Bridge [Tracking] (impact: medium) | |||
Resolved | • Tonina_Zhelyazkova_WMDE | T235154 show error when editor can't edit the statement because of permission errors on the repository | |||
Declined | • Matthias_Geisler_WMDE | T239128 Parse/Render messages in mediawiki |
Event Timeline
Comment Actions
Change 553035 had a related patch set uploaded (by Matthias Geisler; owner: Matthias Geisler):
[mediawiki/extensions/Wikibase@master] bridge: add preparsed messages
Comment Actions
Change 553035 abandoned by Matthias Geisler:
bridge: add preparsed messages
Reason:
For different approach