Page MenuHomePhabricator

Rewrite takedown tools as a simple DMCA reporting tool on Toolforge
Open, LowPublic

Description

Problem
With the removal of the Child Protection portion of the tool T227715, the tool removes any highly sensitive information (correct?). It may not even be necessary to maintain a history of what has been reported.

Proposed Solution
The tool can be simplified to be a simple form that posts to Lumen and the makes the necessary posts on the specified wiki. This can be done as a simple tool on Toolforge. The database as well as the API can be removed. At that point, it might be faster/easier to rewrite the tool using Nuxt.

Event Timeline

jrbs triaged this task as Low priority.

I think the MVP is pretty good now. It does the following:

  • Handles authentication through Flask and OAuth
  • Pulls file information from the affected file through the API
  • Outputs copy/pasteable material for Commons noticeboards, as well as a link to the deletion interface for the affected file

Stuff it needs to be able to do before I would consider it done enough to use:

  • POST the data to Lumen (as Takedown Tools does/did)
  • Delete the file and post the messages with one click (the tool has rights to do this through OAuth so should be doable)
  • Handle multiple file inputs (and potentially multiple uploaders)

It also uses Bootstrap 5 styling, which is nice.