[Foundation-l] Blanking a Wikipedia, a very bad idea

Ryan Kaldari rkaldari at wikimedia.org
Tue Oct 4 23:47:15 UTC 2011

Yes, you could easily limit the protest to just within Italy by using 
CentralNotice. And keep in mind that a CentralNotice banner can include 
JavaScript code (and doesn't have to be dismissible), so you could do 
something creative like showing the user the page for a couple seconds 
and then sliding a notice over the entire screen with the protest 
message. If anyone really needed to access the site, they could just 
turn off Javascript.

Here's some very rough sample code for such a CentralNotice Banner:

<style type="text/css">
#cn-sliding-banner {
   top: -416px; // height + padding-top + padding-bottom + border
   left: 10em;
   height: 315px;
   width: auto;
   padding: 50px 10px;
   background-color: #fdffe7;
   border: 1px solid #fceb92;
   border-top: none;
   text-align: center;

<script type="text/javascript">
$banner = '<div id="cn-sliding-banner">Protest Text Goes Here</div>';
$(document).ready(function() {
     if ( wgCanonicalNamespace !== 'Special' ) {
         $( 'body' ).append( $banner );
         $( '#cn-sliding-ad' ).delay(2000).animate({'top': '+='+$( 
'#cn-sliding-banner' ).outerHeight() }, 'fast');
} );

Ryan Kaldari

On 10/4/11 3:50 PM, church.of.emacs.ml wrote:
> On 10/04/2011 10:38 PM, Mathias Schindler wrote:
>> On Tue, Oct 4, 2011 at 22:32, Fred Bauder<fredbaud at fairpoint.net>  wrote:
>>> No, it is a very good idea. The public needs to know what is at stake. It
>>> would be nice if it were otherwise, but most people only learn by
>>> experience.
>> http://en.wikipedia.org/wiki/List_of_countries_where_English_is_an_official_language
>> makes me wonder if we are going to have fun at en.wikipedia.org any
>> time soon.
> It's probably possible to limit such a protest to one country via
> CentralNotice's geotargeting feature.
> At least a huge banner would be trivial to implement, a read lock is
> going to be harder (you could to it with JS, which can be circumvented
> easily).
> --Tobias
> _______________________________________________
> foundation-l mailing list
> foundation-l at lists.wikimedia.org
> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/foundation-l

More information about the foundation-l mailing list