Extension:UploadBlacklist

From mediawiki.org
MediaWiki extensions manual
UploadBlacklist
Release status: unmaintained
Implementation User activity
Description Allows configuration of an array with sha1 hashes which can then no longer be uploaded
Author(s) Brooke Vibbertalk
MediaWiki 1.25+
License GNU General Public License 2.0 or later
Download
  • $ubUploadBlacklist
Quarterly downloads 2 (Ranked 147th)
Translate the UploadBlacklist extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

Download[edit]

The extension can be retrieved directly from Git [?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/UploadBlacklist/ directory of your MediaWiki installation.

If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UploadBlacklist.git

Installation[edit]

  • Download and move the extracted UploadBlacklist folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UploadBlacklist
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'UploadBlacklist' );
    $ubUploadBlacklist = array ('hash1', 'hash2', ...)
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.