Page MenuHomePhabricator

Cannot insert local picture in VisualEditor
Closed, ResolvedPublic1 Estimated Story Points

Description

I installed VisualEditor and parsoid. It works fine but when clicking Insert > Media, I don't see any of my local files.

If I enable instant commons, I see files from wikimedia commons (but still no local files)

In the browser console:

> mw.util.wikiScript( 'api' )
"//wiki.tillsammansodlingen.se/api.php"

Thanks

Event Timeline

gregoire assigned this task to Mooeypoo.
gregoire raised the priority of this task from to Needs Triage.
gregoire updated the task description. (Show Details)
gregoire added a project: VisualEditor.
gregoire subscribed.
gregoire set Security to None.

Change 192981 had a related patch set uploaded (by Mooeypoo):
Correctly validate a provider for local api

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

Change 192981 merged by jenkins-bot:
Correctly validate a provider for local api

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

Jdforrester-WMF renamed this task from Cannot insert local picture in visual editor to Cannot insert local picture in VisualEditor.Feb 26 2015, 12:53 AM
Jdforrester-WMF closed this task as Resolved.
Jdforrester-WMF triaged this task as Medium priority.

Hi @mooeypo,
I see this is now marked as resolved. That was quick :-)
How can I proceed to get the fix installed: I use MW 1.23, can I still install from git or should I backport the patch to my version?

Hi @mooeypo,
I see this is now marked as resolved. That was quick :-)
How can I proceed to get the fix installed: I use MW 1.23, can I still install from git or should I backport the patch to my version?

Backporting the patch to 1.23 almost certainly won't work, because the media provider code was completely rewritten recently. You can install VE from git, but that also requires you upgrade MW to the git version, because MW 1.23 is too old to work with the git version of VE.