Open main menu

Extension:UploadCheck

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
UploadCheck
Release status: beta
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 GPL
Download See the code

  • $wgUploadNavigationUrl
  • $hideWarning
Translate the UploadCheck extension if it is available at translatewiki.net
Check usage and version matrix.

The UploadCheck extension checks if the fields "Description" and "License" are filled when uploading a file.

InstallationEdit

  • 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:
    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.

See alsoEdit