Extension:UploadCheck
This extension stores its source code on a editable wiki page rather than in a code repository. As a result, this code may be maliciously altered. It may contain security vulnerabilities, and will not receive localisation updates from translatewiki.net. Developers are strongly encouraged to host their code in a code repository rather than a wiki page so that the extension can be properly maintained, reviewed, and kept secure. |
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
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 |
|
|
|
| Licence | GNU General Public License 2.0 or later |
| Download | See the code |
The UploadCheck extension checks if the fields "Description" and "License" are filled when uploading a file.
Installation
edit- Copy the code and place the file(s) in a directory called
UploadCheckin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/UploadCheck/UploadCheck.php"; $wgUploadNavigationUrl = "{$wgScriptPath}/index.php?title=Special:UploadCheck"; $hideWarning = true; // optional
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
