User blog comment:Craiglpalmer/SOPA and PIPA Situation Summary/@comment-1461236-20120118013944/@comment-4688988-20120118035827

To protest SOPA and black out your site, redirecting to wikipedia is the probably the best option, as wikipedia will have ways people can contact their representatives when they enter a zip code.

Here is how you can redirect your site if you are an admin.

On your wikia, go to: MediaWiki:Common.js

Add:


 * var a=new Date;if(18==a.getDate&&0==a.getMonth&&2012==a.getFullYear)window.location="http://en.wikipedia.org/wiki/Main_Page";

Save.

There is a timer set in this code, so your site will ONLY be redirected for one day.

Once this code is added, it can ONLY be removed during the 18th by first disabling javascript on your browser and then deleting the code at MediaWiki:Common.js.

If you are not an admin, open a blog discussion encouraging your site to redirect to wikipedia for one day.