User:Samantas5855/global.js

$(function skinswitcher { var mods = "";  if (document.URL.indexOf('?') != -1) {    mods = '&' + document.URL.substring(document.URL.indexOf('?') +1);    if (mods.indexOf('&useskin=') != -1) {      mods = mods.replace(/&useskin=\w+/,"");    }  }  switch(skin) {    case 'uncyclopedia':    case 'wowwiki':    case 'lostbook':    case 'monobook':      $('Oasis').appendTo('#p-cactions ul');      break;    case 'oasis':    case 'wikia':      $('Monobook').appendTo('#WikiaPageHeader');      break;  } });

if ( mwCustomEditButtons ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",		"tagClose": "", "sampleText": "Insert text" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through text" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": "" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here" }; }

importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.css'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:Server/Server.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:editor.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:sketch.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:Renderer.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:linker.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:Cliend.min.css'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:Cliend.min.js'    ] });

importArticles({   type: 'script',    articles: [        'u:wikimarks:demo.js'    ] });

importArticles({   type: 'script',    articles: [        'u:c:User:Cap123/LTP.js'    ] });

importArticles({   type: 'script',    articles: [        'u:c:User:Cap123/ChatHacks.js'    ] });