Upload dialog

The upload dialog (also known as foreign upload tool or cross-wiki upload tool) is available in visual editor and wikitext editor on Wikimedia wikis. It's not available for users who disabled "enhanced editing toolbar" or "wizards for inserting links, tables" in their preferences. It can also be used outside of these contexts, like in a Gadget or extension. See API documentation for instructions and details.

The dialog allows any registered user to upload a file to the wiki directly from the editor, guiding them through the process. On Wikimedia wikis, it is configured to only allow self-made files under the CC BY-SA license and upload them from any Wikimedia wiki to Wikimedia Commons. Its interface is inspired by UploadWizard, but much more limited (in particular, it only allows uploading one file at a time and only allows providing a simple description in one language).

While it's a part of MediaWiki core, the upload dialog is not currently available from the default wikitext editor. You need to install one of the editing interface extensions to use it: VisualEditor or WikiEditor.

Interface
Afterwards the user returns back to the previous dialog, where they can fill in the thumbnail caption and other details.

Configuration (for wiki sysadmins)
The dialog should be available by default on any wiki using MediaWiki 1.27 or newer that has file uploads enabled. Note that the WikiEditor extension is required for the tool to be available from the editing toolbar. There is currently no way to disable it.

Unless you configure $wgForeignFileRepos and $wgForeignUploadTargets, the uploads will simply go to the local wiki, with the text of the dialog suitably altered.

API documentation

 * mw.Upload
 * mw.Upload.BookletLayout
 * mw.Upload.Dialog
 * mw.ForeignUpload (cross-wiki)
 * mw.ForeignStructuredUpload (cross-wiki with a template, like on Commons)