Extension:Blackout

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
Blackout
Release status: stable
Implementation Skin
Description For use during blackouts in protest to SOPA/PIPA and Internet censorship.
Author(s) John Du Hart and Gregory Varnum
Latest version 1.2 (2017-12-22)
MediaWiki >=1.29
PHP 5
License GNU General Public License 3.0 or later
Download
Release notes
Parameters
$wgBlackout['Enable']
$wgBlackout['Skin']
$wgBlackout['Whitelist']
Hooks used
MediaWikiPerformAction
Translate the Blackout extension if it is available at translatewiki.net

Description[edit]

This will be the home for an extension specifically designed for the SOPA/PIPA blackouts planned for Wednesday, 18th January 2012.

Installation[edit]

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

Requirements[edit]

The following requirements must be satisfied for the Blackout extension to work.

  • MediaWiki 1.29 or newer

Default configuration[edit]

	"config": {
		"Blackout": {
			"value": {
				"Enable": true,
				"Skin": "ProtestSopa",
				"Whitelist": [
					"Special:Version"
				]

Configuration parameters[edit]

Parameter Default Description
$wgBlackout['Enable'] true Enables blackout message
$wgBlackout['Skin'] ProtestSopa Change the blackout skin
  • ProtestSopa
  • SopaStrike
  • StopSopa
$wgBlackout['Whitelist'][] Special:Version Add pages to the whitelist

Gallery[edit]

Development[edit]

This will be maintained for use with Internet Censorship related actions, coordinated by Fight for the Future and other advocacy nonprofits.

Either based on feedback or temporary cease on Internet Censorship actions, the extension will be morphed into one for use with any blackout based on the individual wiki's needs.

Changelog[edit]

1.2
Converted to use extension registration.
1.0.20120718
Localisation
Minor bug fixes
1.0.20120717
Initial BETA release

Roadmap[edit]

Requests by developer[edit]

  • Add any wishes to the talk page.
  • Please test on wikis and report back via talk page.
  • Suggestions from developers are especially welcome! Contributions included will be credited as co-authors.
  • Language translations will be credited.

Credits[edit]

This extension and page was pulled together by User:Varnent and User:Johnduhart utilizing work by these folks:

Resources[edit]