User:4D-VIE-Verwaltungsdroide/global.js

/* */ // Edit-Botton, bei dem man einen Abschnitt auswählen kann. //EditIntroButtonText = 'Bearbeiten'; //importScriptPage( 'EditIntroButton2/code.js', 'dev' );

/* Skin-änder-Button window.monoBookText = "MonoBook"; window.oasisText = "Oasis"; window.mobileText = "Mobil"; importScriptPage('SkinSwitchButton/code.js', 'dev');*/

// "aktualisieren"-Button PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev');

importArticles({   type: 'script',    articles: [	'u:dev:NoImageLightbox/code.js',	'w:c:dev:RevealAnonIP/usercode.js',	'u:dev:PortableCSSPad/code.js',	/*'u:dev:Code/code.js'*/	'u:dev:View_Source/code.js',	'u:dev:MiniComplete/code.js',	'u:dev:AutoEditDropdown/code.js',	'u:dev:AjaxPatrol/code.js', 	'u:dev:AjaxRename/code.js',	'u:dev:BackToTopButton/code.js',	'u:dev:TabKeyInserter/code.js',	'u:dev:UnsafeScripts/code.js',	'u:dev:PageRenameAuto-update/code.js',	'w:c:de.zamonien:MediaWiki:Gadget-Eingabehilfe.js'    ] });

importScriptPage('User:Advieser/Navigation.js', 'c');

/** * 16:15, November 17, 2013 (UTC) * SkinSwitchButton * http://dev.wikia.com/wiki/SkinSwitchButton * Adds a button for switching between Oasis and Monobook. * Supports oasis, monobook and wikiamobile * @author: UltimateSupreme (http://dev.wikia.com/wiki/User:UltimateSupreme) */ // /* Anpassung der Edit-Buttons im Quelltext-Editor */ $(function{	$("#mw-editbutton-nowiki,#mw-editbutton-math,#mw-editbutton-media,#mw-editbutton-headline,#mw-editbutton-hr").css("display", "none"); });

if (mwCustomEditButtons) { /*** wrappers *****/ mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/b/b4/Button_category03.png", "speedTip": "Kategorie", "tagOpen": "[[Kategorie:",    "tagClose": "]]", "sampleText": ""};

/** subpages **/ addOnloadHook( function {	var NSWithoutSubpages = new Array( -1, 6, 8, 12, 13, 14, 15, 104, 105);	if ( document.getElementById( 'p-tb' ) && NSWithoutSubpages.indexOf( wgNamespaceNumber ) == -1 ) {		var subpagesLink = '/wiki/Special:PrefixIndex/' + wgPageName + '/';		addPortletLink( 'p-tb', subpagesLink, 'Subpages', 't-subpages', 'Subpages of this page' );	} });

/** newpage **/ addOnloadHook( function {		var newpagelink = '/wiki/Special:CreatePage'		addPortletLink( 'p-tb', newpagelink, 'Seite hinzufügen', 't-newpage', 'Neue Seite erstellen' ); });

/** auto-rename **/ addOnloadHook( function {		var autorenamelink = '/wiki/Special:BlankPage?blankspecial=pageusageupdate&pagename=' + encodeURIComponent(mw.config.get('wgPageName').replace(/ /g, "_")) + '&namespace=' + wgNamespaceNumber;		addPortletLink( 'p-tb', autorenamelink, 'Seite verschieben', 't-newpage', 'Seite verschieben (auto-update)' ); });

/* */