Page MenuHomePhabricator

Replace all references to Zxxx with Constant variable to increase readability in WikiLambda's Vue code
Closed, ResolvedPublic

Description

As a user I would like to replace all the reference of zObject in the Vue and JS files to use the actual Constants variable (resources\ext.wikilambda.edit\Constants.js).

So for example if you find "Z1" you should replace it with Constants.Z_OBJECT, or if you find Z6K1 replace it with Constants.Z_STRING_VALUE.

  • Update all .vue file
  • Update all .js file (mainly store)

Event Timeline

SimoneThisDot renamed this task from Replace all reference to Zxxx with Constant variable` to Replace all reference to Zxxx with Constant variable to increase readibility.Nov 29 2021, 10:59 AM
Jdforrester-WMF renamed this task from Replace all reference to Zxxx with Constant variable to increase readibility to Replace all references to Zxxx with Constant variable to increase readability in WikiLambda's Vue code.Nov 29 2021, 2:12 PM
Jdforrester-WMF updated the task description. (Show Details)

Change 742532 had a related patch set uploaded (by Jkieserman; author: Jkieserman):

[mediawiki/extensions/WikiLambda@master] FnEditorName.vue: switch to using a constant for zobject

https://gerrit.wikimedia.org/r/742532

Change 742532 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] FnEditorName.vue: switch to using a constant for zobject

https://gerrit.wikimedia.org/r/742532

Change 742758 had a related patch set uploaded (by Jkieserman; author: Jkieserman):

[mediawiki/extensions/WikiLambda@master] update constants in vue and js files

https://gerrit.wikimedia.org/r/742758

Change 742758 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] update constants in vue and js files

https://gerrit.wikimedia.org/r/742758