Page MenuHomePhabricator

Migrate Oppia to the new validator framework
Closed, ResolvedPublic

Description

Migrate the existing checker / suggester code to instead use the new validator framework. We need to add,

  1. A validator for variable - /<\[[a-zA-Z_]+\]>/, that is insertable and enforced.
  2. An insertable (not enforced) for HTML tags. Noticed anchor tags.

We'll need to update the YAML configuration file located here - https://phabricator.wikimedia.org/diffusion/GTWN/browse/master/groups/

Documentation: https://www.mediawiki.org/wiki/Help:Extension:Translate/Validators
Example patch: https://gerrit.wikimedia.org/r/c/translatewiki/+/549930

Event Timeline

Change 550918 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] Add validators and insertables for Oppia

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

Change 550918 merged by jenkins-bot:
[translatewiki@master] Add validators and insertables for Oppia

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

@abi_: Patch merged. Is there more work to do in this task, or can the status of this task be changed to resolved?

abi_ claimed this task.

@abi_: Patch merged. Is there more work to do in this task, or can the status of this task be changed to resolved?

Indeed, it's done. Thanks.