Extension:Blackout

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
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.0.20120122 (2012-01-22)
MediaWiki 1.18, 1.19
PHP 5
License GPL
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 | edit source]

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

Download instructions[edit | edit source]

Download the extension from the Subversion repository and save it into the extensions/Blackout directory of your wiki. If you have shell access to your server, you may do the following to download the extension.

Warning: Before you download read Requirements or you might install the wrong version:

cd extensions
svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Blackout

Installation[edit | edit source]

Requirements[edit | edit source]

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

Install the extension[edit | edit source]

Add the following to LocalSettings.php:

require_once("$IP/extensions/Blackout/Blackout.php");

Default configuration[edit | edit source]

$wgBlackout = array(
	'Enable' => true,
	'Skin' => 'ProtestSopa',
	'Whitelist' => array(
		'Special:Version',
	),
);

Configuration parameters[edit | edit source]

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

Development[edit | edit source]

This will be maintained for use with related SOPA/PIPA / 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.

Release notes[edit | edit source]

1.0.20120718
Localisation
Minor bug fixes
1.0.20120717
Initial BETA release

Planned features[edit | edit source]

Wish list[edit | edit source]

  • Your requests and ideas are welcome

Requests by developer[edit | edit source]

  • Add any wishes to wish list or request on 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 | edit source]

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

Resources[edit | edit source]