| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
ve.init.mw.GalleryImageInfoCache = function VeInitMwGalleryImageInfoCache() { |
| 17 |
|
| 18 |
ve.init.mw.GalleryImageInfoCache.super.apply( this, arguments ); |
| 19 |
}; |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
OO.inheritClass( ve.init.mw.GalleryImageInfoCache, ve.init.mw.ImageInfoCache ); |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
ve.init.mw.GalleryImageInfoCache.prototype.getRequestPromise = function ( subqueue ) { |
| 31 |
return this.api.get( |
| 32 |
{ |
| 33 |
action: 'query', |
| 34 |
prop: 'imageinfo', |
| 35 |
iiprop: 'url|size', |
| 36 |
titles: subqueue, |
| 37 |
iiurlwidth: 200, |
| 38 |
iiurlheight: 200 |
| 39 |
}, |
| 40 |
{ type: 'POST' } |
| 41 |
); |
| 42 |
}; |