Extension:MediaUploader
This page is currently a draft.
|
MediaUploader is an easy to use and flexible file upload tool. It is designed to be configurable and meet the demands of a wide variety of wikis.
Installation
File:OOjs UI icon lightbulb-yellow.svg <translate> Note:</translate> If you are migrating from UploadWizard, see the dedicated guide.
- Your MediaWiki will need to be capable of hosting media files and creating thumbnails (smaller previews of media files). If you can upload images and see smaller previews on their File page, you're already ready. If not, for full instructions, see Manual:Image administration, particularly image thumbnailing.
- <translate> [[<tvar name=2>Special:ExtensionDistributor/MediaUploader</tvar>|Download]] and move the extracted <tvar name=name>
MediaUploader
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MediaUploader - <translate> Only when installing from Git, run <tvar name=composer>Composer</tvar> to install PHP dependencies, by issuing <tvar name=code>
composer install --no-dev
</tvar> in the extension directory.</translate> <translate> (See <tvar name=phab><translate> task <tvar name=1>T173141</tvar></translate></tvar> for potential complications.)</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'MediaUploader' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- Configure as needed.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Features
TBD
Configuration
MediaUploader has extensive and very flexible configuration that can also be partially adjusted on-wiki with the use of campaigns. If you find the config overwhelming, there are also several ready-to-use configuration sets that you can just copy to your wiki and get started in no time.
Origin and design
The idea of MediaUploader stemmed from the numerous issues with using UploadWizard on third-party wikis. The original tool was mostly designed for use by Wikimedia Commons, fulfilling its very specific needs (e.g. Wikibase support, specific licensing hacks, image-based tutorials). Third parties usually have a very different set of requirements that emphasize simplicity and flexibility. The two approaches are hard to reconcile in a single extension, especially given that UploadWizard must meet Commons' requirements and has no obligation to consider the needs of third parties. Thus, MediaUploader was born.
Main design goals of MediaUploader are:
- Ease of use, at least as good as the original UploadWizard.
- Configurability of all elements, well-described in documentation.
- Ability to simplify certain elements of the wizard for wikis with less strict image description requirements.
- Extensibility to allow for wiki-specific enhancements to be created locally.
- No Wikimedia Commons-specific features.
See also
- UploadWizard, the extension this was forked from
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
- Pages with script errors
- Pages with broken file links
- Drafts
- Beta status extensions
- Extensions without an image
- Media handling extensions
- Special page extensions
- Extensions with master compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- Extensions which add rights
- PageDelete extensions
- PageDeleteComplete extensions
- ChangeTagsAllowedAdd extensions
- ChangeTagsListActive extensions
- CodeEditorGetPageLanguage extensions
- ContentModelCanBeUsedOn extensions
- EditFilterMergedContent extensions
- GetPreferences extensions
- LinksUpdateComplete extensions
- ListDefinedTags extensions
- LoadExtensionSchemaUpdates extensions
- MovePageIsValidMove extensions
- PageSaveComplete extensions
- UserGetReservedNames extensions
- All extensions
- Bulk upload