Page MenuHomePhabricator

Upstream VisualEditor's media search tool into mw.widgets so other extensions/core can use it
Closed, ResolvedPublic8 Estimated Story Points

Description

VisualEditor's add media wizard is a vastly superior workflow for things involving finding images and especially uploading new ones and then inserting those into a page. This would be very useful in a lot of different environments:

  • As part of social tools for selecting user profile icons that would show up on user pages, in discussion threads, etc
  • For selecting images for pages using other content models (such as T140165)
  • As a gadget while editing wikitext even without VE

Please make it so we can reuse this.

Event Timeline

The first step would be to move ve.(dm/ui).MWMediaSearch(Widget/Queue/Provider) into core (mediawiki.widgets)

Jdforrester-WMF renamed this task from Make VisualEditor's fancy 'add media' wizard popup reusable by other extensions/outside of VE to Upstream VisualEditor's media search tool into mw.widgets so other extensions/core can use it.Jul 15 2016, 5:26 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set the point value for this task to 8.
Jdforrester-WMF subscribed.

https://gerrit.wikimedia.org/r/#/c/321882/ untangles the resources from mwimage, all that's left to do is to move those files upstream.

Change 322116 had a related patch set uploaded (by Esanders):
Bring in MediaSearchWidget from VE

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

Change 324232 had a related patch set uploaded (by Esanders):
Use upstream media search widget from core

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

Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF moved this task from Freezer to Blocked on the VisualEditor board.

Change 322116 merged by jenkins-bot:
Bring in MediaSearchWidget from VE

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

Change 324232 merged by jenkins-bot:
Use upstream media search widget from core

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