Benutzer:W!B:/vector.js
// *************** SETUP Anfang **********************************
// Modul: customToolbar.js
var customtoolbar = true; // mehr Buttons in der Symbolleiste?
// Anzahl und Reihenfolge wählbar (siehe: [[Wikipedia:Helferlein/Extra-Editbuttons #Standardbuttons]])
var customEditButtons = "9,B,N,0,1,I1,I2,8,O,U,S,J1,J2,2,3,T,K,DS,V,B1,B2,E,7,5,G,H,L,R1,R3,9,ER,DO";
// unnötig: A3 ,P1 ,B3 ,R (ref name ist besser)
// ToDo: klappt nicht: 4,A ,_NBT 5,G
// was hab ich mir da gedacht? ,T1
var rmEditButtons = ['all']
// folgendes für ''nicht umbrechenden schmalen Leerraum NARROW NO-BREAK SPACE (U+202F)  '', ersetzt durch [[Vorlage:\ ]], siehe [[:Bild:Image:Button nnbsp.png]]
// var myButtons={'_NBT':['http://upload.wikimedia.org/wikipedia/commons/f/fb/Button_nnbsp.png','','{{\\}}','','']};
//
// **************** SETUP Ende ***********************************
// ersetzt durch Gadget!
//(helper) Funktion importPage
// function importPage(page, lang) { // all languages support
// if(!lang) lang = wgContentLanguage;
// page = 'http://' + lang + '.wikipedia.org/w/index.php?title=User:' + page
// + '&action=raw&ctype=text/javascript&smaxage=2678400&dontcountme=s';
// lang = document.createElement('script');
// lang.setAttribute('type', 'text/javascript');
// lang.setAttribute('src', page);
// document.getElementsByTagName('head').item(0).appendChild(lang);
// return false
// };
// unnötig:
// Modul: customToolbar.js
// if (customEditButtons = true) // Mehr Buttons in der Symbolleiste?
// Anzahl und Reihenfolge wählbar (siehe: [[Benutzer:Olliminatore/Extra-Editbuttons|Olliminatore/Extra-Editbuttons]])
// [[Benutzer:PDD/monobook.js]]
// custom toolbar buttons
// if (customtoolbar) importPage('Olliminatore/customToolbar.js'); // [[Benutzer:Olliminatore/customToolbar.js]]
//========================= moveEditTools ===================================
// [[Benutzer:W!B:]]
// Ziel: verschiebt die Edittools zur Toolbar
//
// function moveEditTools() {
// var editTools = document.getElementById('mw-editTools');
// editTools.parentNode.removeChild(editTools);
// if (!editTools) return;
// var toolbar = document.getElementById('toolbar');
// if (toolbar) {
// toolbar.appendChild(editTools)
// }
// }
// addOnloadHook(moveEditTools);
//function jumpdown() {
// var jumper = '<a href="#mw-navigation"jumpdown<\/a>'
// var jump = document.getElementById('jump-to-nav');
// jump.nodeValue = jumper
// }
// addOnloadHook(jumpdown);
//========================= addRedirCats ===================================
// [[Benutzer:W!B:]]
// Ziel: blendet ''Weitergeleitet von'' auch unten bei den Kategorien ein
// Problem: workaround für das Problem, dass man bei kategorisierten Redirects
// nicht direkt in die Kategorie kommt
// siehe auch [[WP:WL#Kategorisierung]]
// ToDo: Die Kategorien des Redirects werden direkt unten mitangezeigt
//
// function addRedirCats() {
// var contentSub = document.getElementById('contentSub');
// if (!contentSub) return;
// alert(contentSub.links.length)
// if (!contentSub.links.length) return;
// var redircatlinks = contentSub.cloneNode(true);
// alert(redircatlinks.firstChild)
// redircatlinks.id = 'redircatlinks';
// var catlinks = document.getElementById('catlinks');
// if (catlinks) {
// catlinks.appendChild(redircatlinks)
// catlinks.style.marginBottom = '1px';
// redircatlinks.style.marginTop = '1px';
// }
// }
// addOnloadHook(addRedirCats);
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.