Extension:UploadBlacklist
![]() | A request to archive this extension has been made on Phabricator. See task T347126 for the archival request and the rationale for the request, and to leave comments about the request. |
![]() | This extension is incompatible with MediaWiki 1.34 or any later release! You are advised against using this extension on a live site. Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.40 by replacing the {{Incompatible }} template with {{Incompatible |version=1.34|pledge=~~~~}} . |
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
![]() Release status: unmaintained |
|
---|---|
Implementation | User activity |
Description | Allows configuration of an array with sha1 hashes which can then no longer be uploaded |
Author(s) | Brion Vibber (Brion VIBBERtalk) |
MediaWiki | 1.25+ |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 1 (Ranked 164th) |
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.
- Browse tags
- Select the tag
- Click "snapshot"
- 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).
- Browse branches
- Select a branch name
- Click "Continue"
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 place the file(s) in a directory called
UploadBlacklist
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'UploadBlacklist' ); $ubUploadBlacklist = array ('hash1', 'hash2', ...)
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.24 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension()
.
If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'UploadBlacklist' );
, you need to use:
require_once "$IP/extensions/UploadBlacklist/UploadBlacklist.php";