Page MenuHomePhabricator

Use Z99 to Disambiguate Use/Mention of Arguments in Validation Functions
Closed, ResolvedPublic

Description

See also TODO in src/validation.js that creates an exception for Z18s.

We should always wrap arguments to validation functions in Z99 to obviate dereferencing.

This also means we can deprecate Z7_backend.

Event Timeline

And also in case they're invalid, I guess?

DVrandecic triaged this task as Medium priority.Sep 22 2021, 4:46 PM

Change 724537 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/services/function-orchestrator@master] Quote arguments to validation functions in order to avoid premature func execution.

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

Change 724537 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Quote arguments to validation functions in order to avoid premature func execution.

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