Extension:UploadCheck/de-formal

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki extensions manual
UploadCheck
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

  • $wgUploadNavigationUrl
  • $hideWarning
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

Installation

  • <translate> <tvar name=1>Copy the code</tvar> and place the file(s) in a directory called <tvar name=name>UploadCheck/de-formal</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/UploadCheck/de-formal/UploadCheck/de-formal.php";
    $wgUploadNavigationUrl = "{$wgScriptPath}/index.php?title=Special:UploadCheck";
    $hideWarning = true; // optional
    
  • 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>