(Discussion still pending whether normal or canonical, but definitely getting rid of the hybrid form)
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Have the front-end work with canonical form rather than hybrid form | mediawiki/extensions/WikiLambda | master | +124 -32 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | SimoneThisDot | T282811 Let the wiki emit canonical form | |||
Invalid | None | T282812 Update Vuex to be able to convert a Z10/List from normal to canonical | |||
Invalid | None | T282813 Rewrite Z10 component to deal with the normal form | |||
Invalid | None | T282814 Ensure Z8/Function component still works as before | |||
Resolved | SimoneThisDot | T282161 Have the front-end work with canonical form rather than hybrid normal form | |||
Resolved | BUG REPORT | Lindsaykwardell | T282609 List elements in Special:EvaluateFunctionCall seem to eat themselves when adding the first item |
Event Timeline
When ZObject.vue components where mutating its own properties we found that it was problematic to have the ZObject value be a string instead of an object, because in that case it could not use $.set to mutate it. The "selective" normalization of strings and references was done to avoid this problem. However, now the ZObject component is not doing any mutations, and all object changes are being handled in the store. So the reason why this was done in the first place doesn't exist anymore, but I am not sure if there's any other use case where the "normalish" form would be useful.
Change 694509 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):
[mediawiki/extensions/WikiLambda@master] Have the front-end work with canonical form rather than hybrid form
Change 694509 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] Have the front-end work with canonical form rather than hybrid form