This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Fall Skin - by Seaside98 | |
Winter Skin - by Nxtstep101 | |
JavaScript - by Seaside98 | |
Version 2.2.1 | |
Change Log: | |
1.0.0 - Fall skin and script | |
2.0.0 - Winter skin and rewrite of script | |
2.1.0 - Fixed css loading problems | |
2.2.0 - Added cookies | |
2.2.1 - Winter skin is no longer default */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Policy Popup */ | |
//Make sure cookies are enabled | |
if($.cookie('closePolicy') != 'close' && wgUserName) { | |
$.cookie('closePolicy','enabled',{expires: 365}); | |
if($.cookie('closePolicy') == 'enabled') { | |
var $optionsWindowHTML = $.showCustomModal( '<div style="font-weight:bold;color:#d25a1b;">Welcome to the LEGO Message Boards Wiki!</div>', 'Our Wiki is a kid-friendly site. <font color="red">No bad language, inappropriate discussions, or personal information is allowed.</font> By editing, chatting, or posting on this Wiki, you agree to follow our <a href="/wiki/Lego_Message_Boards_Wiki:General_Policy" target="_blank" style="font-weight:bold;">Full Policy</a>.', { | |
id: "optionsWindow", | |
width: 600, | |
buttons: [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//<syntaxhighlight lang="javascript"> | |
/* User Talk Notifications | |
* Code by Seaside98 */ | |
//Variables | |
var talkWikis = window.talkWikis || []; | |
var pageName = window.talkName || 'Talk'; | |
var talkNames = []; | |
var enUserName = encodeURIComponent(wgUserName); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*April Fools 2013 (Backwards Chat) - by Seaside98 and Danielboone6702*/ | |
var mill = new Date().getTime(); | |
var goStop; | |
function timeCheck() { | |
var millCur = new Date().getTime(); | |
if (millCur < mill+30000) { // < 30 seconds | |
goStop = true; | |
} else if (millCur > mill+300000) { // 5 minutes have passed | |
mill = mill+300000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(http://fonts.googleapis.com/css?family=Varela+Round); | |
.ChatWindow { | |
overflow: hidden; | |
/*font-family: 'Varela Round', sans-serif;*/ | |
background-image: url('http://www.10wallpaper.com/wallpaper/1920x1080/1107/tender_grass_wallpaper_1920x1080.jpg'); | |
background-size: cover; | |
} | |
/*.ChatWindow:before { | |
background-color: rgba(0,0,0,.2); | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var num = prompt("Number of pages to create", "1"); | |
var text = prompt("Page text", "Spam"); | |
num = parseInt(num); | |
for (var i = 0; i < num; i++) { | |
var title = Math.random().toString(36).substring(13); | |
$.ajax({ | |
url: wgServer + '/api.php?action=edit&title='+title+'&appendtext='+encodeURIComponent( text )+'&token='+encodeURIComponent( mw.user.tokens.get('editToken') ), | |
type: 'POST' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A useful script for pulling directly from GitHub to Wikia. | |
* | |
* Use by calling: | |
* importGitHub('LMBW/Parallel/Parallel.css'); | |
* or | |
* importGitHub('LMBW/Parallel/Parallel.js'); | |
*/ | |
function importGitHub( path ) { | |
path = path.replace(/(.*?\/.*?\/)/, '$1contents/'); | |
$.ajax({ |