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 created this task.Jan 14 2015, 12:42 AM
Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added projects: CommonsMetadata, Multimedia.
Tgr added a subscriber: Tgr.
Jdforrester-WMF triaged this task as Low priority.Sep 4 2015, 6:56 PM
Restricted Application added subscribers: Steinsplitter, Matanya. · View Herald TranscriptSep 4 2015, 6:56 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 7:03 PM
RP88 added a subscriber: RP88.Oct 2 2015, 1:33 PM

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

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

He7d3r added a subscriber: He7d3r.Dec 17 2016, 6:20 PM