Extension:Blackout

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
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
Last 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

Contents

[edit] Description

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

[edit] Download instructions

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

[edit] Installation

[edit] Requirements

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

[edit] Install the extension

Add the following to LocalSettings.php:

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

[edit] Default configuration

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

[edit] Configuration parameters

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

[edit] Development

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.

[edit] Release notes

1.0.20120718
Localisation
Minor bug fixes
1.0.20120717
Initial BETA release

[edit] Planned features

[edit] Wish list

  • Your requests and ideas are welcome

[edit] Requests by developer

  • 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

[edit] Credits

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

[edit] Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox