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

abi_ created this task.Nov 11 2019, 8:27 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 11 2019, 8:27 AM

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_ closed this task as Resolved.Dec 14 2019, 2:25 PM
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.