Extension:UploadCheck

Category:Extensions which host their code in-wiki Category:Unmaintained extensions#UploadCheck Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
UploadCheck
Release status: unmaintainedCategory:Unmaintained extensions
Implementation MediaCategory:Media handling extensions
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+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download See the code
  • $wgUploadNavigationUrl
  • $hideWarning
Category:All extensionsCategory:Extensions not in ExtensionJson

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 your extensions/ 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
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.Category:Extensions not using extension registration
Category:All extensions Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions which host their code in-wiki Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Media handling extensions Category:Unmaintained extensions