Page MenuHomePhabricator

CommonsMetadata should parse boolean(ish) values
Open, LowPublic

Description

CommonsMetadata parses some template fields which are true/false (e.g. NonFree, AttributionRequired), but currently just handles them as plaintext. The content could be true/false or yes/no or 1/0 or whatever; it is left to the client to deal with it.

CommonsMetadata should normalize such values to 0/1.

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added projects: CommonsMetadata, Multimedia.
Tgr subscribed.

Change 282141 had a related patch set uploaded (by Gergő Tisza):
Convert booleanish values to real booleans

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