mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +00:00
Merge "Avoid not caching meta=filerepoinfo calls for logged in users"
This commit is contained in:
commit
767b736dc1
|
@ -43,7 +43,8 @@
|
||||||
return this.getCachedPromise( '*', function () {
|
return this.getCachedPromise( '*', function () {
|
||||||
return provider.apiGetWithMaxAge( {
|
return provider.apiGetWithMaxAge( {
|
||||||
action: 'query',
|
action: 'query',
|
||||||
meta: 'filerepoinfo'
|
meta: 'filerepoinfo',
|
||||||
|
uselang: 'content'
|
||||||
} ).then( function ( data ) {
|
} ).then( function ( data ) {
|
||||||
return provider.getQueryField( 'repos', data );
|
return provider.getQueryField( 'repos', data );
|
||||||
} ).then( function ( reposArray ) {
|
} ).then( function ( reposArray ) {
|
||||||
|
|
Loading…
Reference in a new issue