mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-23 15:56:47 +00:00
JSDoc: convert @cfg to @param
Bug: T138401 Change-Id: Ib09d471a28821f54c6f8678e788ba85fbd426d35
This commit is contained in:
parent
eca84a5542
commit
b02ba00fd0
|
@ -24,7 +24,7 @@ class Api {
|
|||
/**
|
||||
* @param {mw.Api} api
|
||||
* @param {Object} [options]
|
||||
* @cfg {number} [maxage] cache expiration time, in seconds
|
||||
* @param {number} [options.maxage] cache expiration time, in seconds
|
||||
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
|
||||
*/
|
||||
constructor( api, options ) {
|
||||
|
|
|
@ -25,7 +25,7 @@ class FileRepoInfo extends Api {
|
|||
/**
|
||||
* @param {mw.Api} api
|
||||
* @param {Object} [options]
|
||||
* @cfg {number} [maxage] cache expiration time, in seconds
|
||||
* @param {number} [options.maxage] cache expiration time, in seconds
|
||||
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
|
||||
*/
|
||||
constructor( api, options ) {
|
||||
|
|
|
@ -27,8 +27,8 @@ class ImageInfo extends Api {
|
|||
/**
|
||||
* @param {mw.Api} api
|
||||
* @param {Object} [options]
|
||||
* @cfg {string} [language=null] image metadata language
|
||||
* @cfg {number} [maxage] cache expiration time, in seconds
|
||||
* @param {string} [options.language=null] image metadata language
|
||||
* @param {number} [options.maxage] cache expiration time, in seconds
|
||||
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
|
||||
*/
|
||||
constructor( api, options ) {
|
||||
|
|
|
@ -27,7 +27,7 @@ class ThumbnailInfo extends Api {
|
|||
/**
|
||||
* @param {mw.Api} api
|
||||
* @param {Object} [options]
|
||||
* @cfg {number} [maxage] cache expiration time, in seconds
|
||||
* @param {number} [options.maxage] cache expiration time, in seconds
|
||||
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
|
||||
*/
|
||||
constructor( api, options ) {
|
||||
|
|
Loading…
Reference in a new issue