Skip to content

Commit

Permalink
mw.ForeignUpload: Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Derugon committed Dec 26, 2024
1 parent 17dd305 commit 0b75da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mw/ForeignUpload.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ declare global {
* Used to represent an upload in progress on the frontend.
*
* @param {string} [target] Used to set up the target
* wiki. If not remote, this class behaves identically to mw.Upload (unless further subclassed)
* wiki. If not remote, this class behaves identically to {@link mw.Upload} (unless further subclassed)
* Use the same names as set in $wgForeignFileRepos for this. Also,
* make sure there is an entry in the $wgForeignUploadTargets array for this name.
* @param {Api.Options} [apiconfig] Passed to the constructor of mw.ForeignApi or mw.Api, as needed.
* @param {ForeignApi.Options} [apiconfig] Passed to the constructor of mw.ForeignApi or mw.Api, as needed.
* @see https://doc.wikimedia.org/mediawiki-core/master/js/mw.ForeignUpload.html#ForeignUpload
*/
constructor(target: string, apiconfig?: ForeignApi.Options);
Expand Down

0 comments on commit 0b75da6

Please sign in to comment.