https://bugzilla.wikimedia.org/show_bug.cgi?id=63989
James Forrester <jforres...@wikimedia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from James Forrester <jforres...@wikimedia.org> --- (In reply to Patrick King from comment #0) > Running an up-to-date VisualEditor extension and parsoid server on > mediawiki-1.22.2, when I use 'Insert Media' no matter the search term (exact > filenames are no better) nothing is returned. Sorry, I completely missed the bit of your question asking about MediaWiki 1.22 – for media search to work, VisualEditor requires APIs that were introduced in MediaWiki 1.23. Indeed, the code intentionally asserts that you are running the right version of MediaWiki to avoid these issues. For comparison, my local repo (running 1.24 alpha) comes out with: { "query": { "repos": [ { "name": "local", "displayname": "devwiki", "rootUrl": "/images", "local": true, "url": "/images", "thumbUrl": "/images/thumb", "initialCapital": true, "scriptDirUrl": "/w", "scriptExtension": ".php", "favicon": "http://localhost:8080/favicon.ico" } ] } } Some of these extra return parts are required for VisualEditor's media search to work. (In reply to Patrick King from comment #2) > Yes, I did have it installed on the server's root (with a wiki. subdomain). Quite apart from the MediaWiki 1.22 issue, that's bug 62007 (MediaWiki installed on the server's root is an unsupported configuration by its API, apparently). -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l