Page MenuHomePhabricator

Accept alternative image URLs
Open, LowPublic

Description

We should be liberal about accepting file URLs which might not be in the usual, canonical format. Basically, we should let the users paste links from any workflow ehere you might "copy image link" or copy from the location bar. For example,

Event Timeline

awight created this task.Mar 30 2019, 4:21 PM
Restricted Application added a project: TCB-Team. · View Herald TranscriptMar 30 2019, 4:21 PM
thiemowmde triaged this task as Low priority.May 14 2019, 1:48 PM
thiemowmde moved this task from Backlog to prio 2 tickets on the Move-Files-To-Commons board.
thiemowmde added subscribers: thiemowmde, WMDE-Fisch.

That's definitely nice to have. Personally, I support the idea. However, please consider the following:

  • The form to enter a URL is typically not used by users. The only use-case we really care about is the export button on a file page.
  • The more URLs we accept, the more complicated the parser for these URLs becomes.

I'm not saying we should not touch the source URL parser. At the moment it's a very trivial baseline that definitely needs some love. For example, I feel it's critical to make it accept MediaViewer URLs. But we should make sure it doesn't grow out of hand. Again, keep YAGNI in mind.