https://www.mediawiki.org/wiki/Extension:Blackout
This is NOT the code that the Wikimedia Foundation is using for the SOPA/PIPA blackout. This is an extension developed by John Du Hart and myself to help other MediaWiki sites black out. The code's at:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Blackout/
That page also links to other resources and methods for anti-SOPA JavaScript and so on.
Technical guide on Wikipedia's usage: https://meta.wikimedia.org/wiki/English_Wikipedia_SOPA_blackout/Technical_FA...
Localisation support coming within the hour.
This will be maintained in the coming weeks for use with related SOPA/PIPA / Internet Censorship related actions (my hunch is that this isn't the end of this). After that the extension will be morphed into one for use with any blackout based on the wiki's needs. May make that an option sooner rather than later if there's requests for this feature.
-greg aka varnent
------- Gregory Varnum Lead, Aequalitas Project Lead Administrator, WikiQueer Founding Principal, VarnEnt @GregVarnum fb.com/GregVarnum
wikitech-l@lists.wikimedia.org