mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 08:13:38 +00:00
Merge "Use JSONP for gender query to avoid cross-domain issues"
This commit is contained in:
commit
fa63bdee3f
|
@ -489,7 +489,8 @@
|
|||
// TODO this is ugly as hell, let's fix this in core.
|
||||
new mw.Api( {
|
||||
ajax: {
|
||||
url: repoData.apiUrl || mw.util.wikiScript( 'api' )
|
||||
url: repoData.apiUrl || mw.util.wikiScript( 'api' ),
|
||||
dataType: 'jsonp'
|
||||
}
|
||||
} ).get( {
|
||||
action: 'query',
|
||||
|
|
Loading…
Reference in a new issue