Extension:Blackout

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Blackout

Release status:Extension status stable

ImplementationTemplate:Extension#type Skin
DescriptionTemplate:Extension#description For use during blackouts in protest to SOPA/PIPA and Internet censorship.
Author(s)Template:Extension#username John Du Hart and Gregory Varnum
Latest versionTemplate:Extension#version 1.0.20120122 (2012-01-22)
MediaWikiTemplate:Extension#mediawiki 1.18, 1.19
PHPTemplate:Extension#php 5
LicenseTemplate:Extension#license GPL
Download
Release notes
ParametersTemplate:Extension#parameters

$wgBlackout['Enable']
$wgBlackout['Skin']
$wgBlackout['Whitelist']

Hooks usedTemplate:Extension#hook
MediaWikiPerformActionManual:Hooks/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, January 18th.

Download instructions[edit]

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 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]

Requirements[edit]

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

Install the extension[edit]

Add the following to LocalSettings.php:

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

Default configuration[edit]

$wgBlackout = array(
	'Enable' => true,
	'Skin' => 'ProtestSopa',
	'Whitelist' => array(
		'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

Development[edit]

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]

1.0.20120718
Localisation
Minor bug fixes
1.0.20120717
Initial BETA release

Planned features[edit]

Wish list[edit]

  • Your requests and ideas are welcome

Requests by developer[edit]

  • 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]

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

Resources[edit]