From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Implementation User interface
Description Allows adding the licence template by default on Special:Upload.
Author(s) Robert Leverington
VolodyA! V Anarhist
Latest version 1.1.1 (2013-08-28)
MediaWiki 1.21+
Database changes No
License GPLv3
Download external source
Example freedomporn.org
  • $wgLicenceOnUploadDefault
  • $wgLicenceOnUploadAllowNone
  • $wgLicenceOnUploadList
Translate the LicenceOnUpload extension if it is available at translatewiki.net
Check usage and version matrix.

The LicenceOnUpload extension allows adding the licence template by default on Special:Upload.


  • Copy the code and place the file(s) in a directory called LicenceOnUpload in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/LicenceOnUpload/LicenceOnUpload.php";
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.