Extension:Blackout
|
|
This extension is only meant for use on MediaWiki-based wikis. Visit the main SOPA Strike website for plugins, extensions and code for other types of wikis and websites. |
|
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 |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes Release notes |
||
|
|||
|
|||
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.
- MediaWiki 1.18 or newer (due to usage of ResourceLoader and getContext ())
[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
|
| $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
- Integration with congressional candidates lookup
- Ability to set start/end timestamps
[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
- Requires at least MW1.18 due to use of ResourceLoader and getContext ()
- 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:
- jorm
- Mike Sofaer
- bawolff
- Kaldari
- NeilK
- This is not yet an expansive or inclusive list - please add missing names