mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-29 05:07:36 +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 provider.apiGetWithMaxAge( {
|
||||
action: 'query',
|
||||
meta: 'filerepoinfo'
|
||||
meta: 'filerepoinfo',
|
||||
uselang: 'content'
|
||||
} ).then( function ( data ) {
|
||||
return provider.getQueryField( 'repos', data );
|
||||
} ).then( function ( reposArray ) {
|
||||
|
|
Loading…
Reference in a new issue