![]() Release status: unmaintained |
|
---|---|
Implementation | Media |
Description | Checks if the fields "Description" and "License" are filled when uploading a file |
Author(s) | Martin Strecker (MaStrtalk) |
Latest version | 1.0 (2013-08-29) |
MediaWiki | 1.21+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | See the code |
Parameters
|
|
The UploadCheck extension checks if the fields "Description" and "License" are filled when uploading a file.
Installation
- Copy the code and place the file(s) in a directory called
UploadCheck
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
require_once "$IP/extensions/UploadCheck/UploadCheck.php"; $wgUploadNavigationUrl = "{$wgScriptPath}/index.php?title=Special:UploadCheck"; $hideWarning = true; // optional
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.