Page MenuHomePhabricator

Takedown Tools: Tool should not output `attachment=` when there is no attachment
Open, LowPublic

Description

Right now, the Takedown Tools outputs wikitext to place on the Foundation wiki for historical reference. This page makes use of the [[ | DMCA email]] template, which includes a field for an attachment if there is one. Unfortunately the parser isn't clever enough to know that a blank entry here means "null", rather than just a blank string.

Ideally the tool would work out that no attachment was uploaded, and therefore doesn't need to be in the wikitext output by the tool.

Link to the code repository: https://github.com/wikimedia/takedown-tools

Event Timeline

jrbs triaged this task as Low priority.May 21 2020, 6:59 PM
jrbs created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 21 2020, 6:59 PM
srishakatux updated the task description. (Show Details)Jun 10 2020, 2:58 AM