MarioWiki

Vote for a featured article!

READ MORE

MarioWiki
Advertisement

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
if (wgAction == "edit" || wgAction == "submit" && mwCustomEditButtons) { 

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images3.wikia.nocookie.net/central/images/f/fc/Button_user_talk.png",
     "speedTip": "Insert MW Word Bubble",
     "tagOpen": "{{J|text=",
     "tagClose": "}}",
     "sampleText": "Text Here"};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images2.wikia.nocookie.net/imagedump/images/8/88/00BFF3_Button.png",
     "speedTip": "00BFF3",
     "tagOpen": "<font color=#00BFF3>'''",
     "tagClose": "'''</font>",
     "sampleText": "Insert text" }
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images4.wikia.nocookie.net/__cb20110220062053/imagedump/images/b/b9/389937_Button.png",
     "speedTip": "389937",
     "tagOpen": "<font color=#389937>'''",
     "tagClose": "'''</font>",
     "sampleText": "Insert text" }
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images1.wikia.nocookie.net/imagedump/images/c/c2/Category_Button.png",
     "speedTip": "Category",
     "tagOpen": "[[Category:",
     "tagClose": "]]",
     "sampleText": "Insert text" }
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images2.wikia.nocookie.net/imagedump/images/9/9d/Mario_Party_button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party]]'' ",
     "tagClose": "([[1999]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images3.wikia.nocookie.net/imagedump/images/c/cd/Mario_Party_2_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 2]]'' ",
     "tagClose": "([[2000]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images1.wikia.nocookie.net/imagedump/images/4/4f/Mario_Party_3_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 3]]'' ",
     "tagClose": "([[2001]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images3.wikia.nocookie.net/imagedump/images/f/f9/Mario_Party_4_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 4]]'' ",
     "tagClose": "([[2002]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images3.wikia.nocookie.net/__cb20110324155019/imagedump/images/4/4e/Mario_Party_5_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 5]]'' ",
     "tagClose": "([[2003]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images1.wikia.nocookie.net/imagedump/images/d/d9/Mario_Party_6_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 6]]'' ",
     "tagClose": "([[2004]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images1.wikia.nocookie.net/__cb20110324155019/imagedump/images/3/3b/Mario_Party_7_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 7]]'' ",
     "tagClose": "([[2005]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images1.wikia.nocookie.net/__cb20110324155019/imagedump/images/5/56/Mario_Party_8_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party 8]]'' ",
     "tagClose": "([[2007]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images2.wikia.nocookie.net/__cb20110324155019/imagedump/images/b/bb/Mario_Party_DS_button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party DS]]'' ",
     "tagClose": "([[2007]])",
     "sampleText": ""};
}

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images3.wikia.nocookie.net/__cb20110324155019/imagedump/images/0/0a/Mario_Party_Advance_Button.png",
     "speedTip": "Insert Syntax",
     "tagOpen": "''[[Mario Party Advance]]'' ",
     "tagClose": "([[2005]])",
     "sampleText": ""};
}

//Adds a new box in the sidebar and populates it with custom links; originally by User:Grunny
$(function() {
	$('#p-cactions').after('<div id="p-pql" class="portlet"><h5>MarioWiki pages</h5><div class="pBody"><ul></ul></div></div>');
	addPortletLink('p-pql','/wiki/MarioWiki:Featured Media','Featured Media');
        addPortletLink('p-pql','/wiki/MarioWiki:Featured Media/Former Media','Former Media');
        addPortletLink('p-pql','/wiki/MarioWiki:Featured Articles','Featured Articles');
        addPortletLink('p-pql','/wiki/MarioWiki:The Glitz Pit','Glitz Pit');
        addPortletLink('p-pql','/wiki/MarioWiki:The Glitz Pit/Suggestions','Suggestions');
	$('#p-cactions').after('<div id="p-pql" class="portlet"><h5>My Tools</h5><div class="pBody"><ul></ul></div></div>');
	addPortletLink('p-pql','/wiki/Special:RecentChanges','Recent Changes');
        addPortletLink('p-pql','/wiki/Special:WhatLinksHere','What Links Here');
        addPortletLink('p-pql','/wiki/Special:CreatePage','Create a New Page');
        addPortletLink('p-pql','/wiki/Special:Upload','Upload');
        addPortletLink('p-pql','/wiki/Special:MultipleUpload','Multiple Upload');
        addPortletLink('p-pql','/wiki/Special:Editcount','Edit Count');
        addPortletLink('p-pql','/wiki/User_talk:BassJapas','Messages');
        addPortletLink('p-pql','/wiki/Special:Disambiguations','Disambigs');
        addPortletLink('p-pql','/wiki/Special:SpecialPages','Special Pages');
        addPortletLink('p-pql','/wiki/Special:ListRedirects','Redirects');
        addPortletLink('p-pql','/wiki/Special:Contributions','Contribs');
        addPortletLink('p-pql','/wiki/Special:Categories','Categories');
        addPortletLink('p-pql','/wiki/Special:Random','Random Page');
        addPortletLink('p-pql','/wiki/User_talk:Count_Caterpie','CoCat');
        reskinsidebar();
});

///////////////////////////////////////////////////////////////////////////////////////////////////////////
 
// ADVANCED AJAX AUTO-REFRESHING ARTICLES
// Code courtesy of "pcj" of WoWWiki.
 
///////////////////////////////////////////////////////////////////////////////////////////////////////////
 
var indicator = 'http://images2.wikia.nocookie.net/__cb20100617113125/dev/images/8/82/Facebook_throbber.gif';
if (!window.ajaxPages) ajaxPages = new Array("Special:RecentChanges", "Special:Watchlist", "Special:Log", "Special:NewFiles", "Special:AbuseLog");
var ajaxTimer;
var ajaxRefresh = 60000;
var refreshText = 'Automatically refresh';
if( typeof AjaxRCRefreshText == "string" ) {
	refreshText = AjaxRCRefreshText;
}
var refreshHover = 'Enable auto-refreshing page loads';
if( typeof AjaxRCRefreshHoverText == "string" ) {
	refreshHover = AjaxRCRefreshHoverText;
}
var doRefresh = true;
function setCookie(c_name,value,expiredays) {
var exdate=new Date()
exdate.setDate(exdate.getDate()+expiredays)
document.cookie=c_name+ "=" +escape(value) + ((expiredays==null) ? "" : ";expires="+exdate.toGMTString())
}
 
function getCookie(c_name) {
if (document.cookie.length>0) {
c_start=document.cookie.indexOf(c_name + "=")
if (c_start!=-1) { 
c_start=c_start + c_name.length+1 
c_end=document.cookie.indexOf(";",c_start)
if (c_end==-1) c_end=document.cookie.length
return unescape(document.cookie.substring(c_start,c_end))
} 
}
return ""
}
 
function preloadAJAXRL() {
ajaxRLCookie = (getCookie("ajaxload-"+wgPageName)=="on") ? true:false;
appTo = ($("#WikiaPageHeader").length)?$("#WikiaPageHeader"):$(".firstHeading");
appTo.append(' <span style="font-size: xx-small; line-height: 100%;" id="ajaxRefresh"><span style="border-bottom: 1px dotted; cursor: help;" id="ajaxToggleText" title="' + refreshHover + '">' + refreshText + ':</span><input type="checkbox" style="margin-bottom: 0;" id="ajaxToggle"><span style="display: none;" id="ajaxLoadProgress"><img src="' + indicator + '" style="vertical-align: baseline;" border="0" alt="AJAX operation in progress" /></span></span>');
$("#ajaxLoadProgress").bind("ajaxSend", function (){
$(this).show();
}).bind("ajaxComplete", function (){
$(this).hide();
});
$("#ajaxToggle").click(toggleAjaxReload);
$("#ajaxToggle").attr("checked", ajaxRLCookie);
if (getCookie("ajaxload-"+wgPageName)=="on") loadPageData();
}
 
function toggleAjaxReload() {
if ($("#ajaxToggle").attr("checked") == true) {
setCookie("ajaxload-"+wgPageName, "on", 30);
doRefresh = true;
loadPageData();
} else {
setCookie("ajaxload-"+wgPageName, "off", 30);
doRefresh = false;
clearTimeout(ajaxTimer);
}
}
 
function loadPageData() {
cC = ($("#WikiaArticle").length)?"#WikiaArticle":"#bodyContent";
$(cC).load(location.href + " " + cC, function (data) { 
$(cC).trigger("ajaxPageLoad");
if (doRefresh) ajaxTimer = setTimeout("loadPageData();", ajaxRefresh);
});
}
 
$(function () { 
for (x in ajaxPages) {
if (wgPageName == ajaxPages[x] && $("#ajaxToggle").length==0) preloadAJAXRL();
}
});
 
 
///////////////////////////////////////////////////////////////////////////////////////////////////////////
 
// END OF AJAX AUTO-REFRESH
 
///////////////////////////////////////////////////////////////////////////////////////////////////////////
Advertisement