MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
Zeile 3: | Zeile 3: | ||
var sysopRights = true; | var sysopRights = true; | ||
+ | mwCustomEditButtons[mwCustomEditButtons.length] = | ||
+ | {"imageFile": "/rel_jap/w/skins/common/images/no.gif", | ||
+ | "speedTip": "", | ||
+ | "tagOpen": "", | ||
+ | "tagClose": "", | ||
+ | "sampleText": ""}; | ||
/*********************************** | /*********************************** | ||
Stylesheet changes | Stylesheet changes |
Version vom 5. Januar 2012, 00:16 Uhr
for (i in wgUserGroups)
if (wgUserGroups[i] == 'sysop')
var sysopRights = true;
mwCustomEditButtons[mwCustomEditButtons.length] =
{"imageFile": "/rel_jap/w/skins/common/images/no.gif",
"speedTip": "",
"tagOpen": "",
"tagClose": "",
"sampleText": ""};
/***********************************
Stylesheet changes
***********************************/
document.write (
'<style>' +
' #siteNotice.fixed {}' + //0
' .glossar2:hover small small {}' + //1
' </style>'
);
var newCSS = document.styleSheets[document.styleSheets.length-1],
newRules = newCSS.cssRules || newCSS.rules; // für alle Browser ansprechbar
/***********************************
IMPORT
***********************************/
//wenn css:styles...
for (i in wgCategories) {
if (wgCategories[i]=='Styles') {
/*** NAVIGATION ***/
importScript('mediawiki:navigation.js');
/*** LAYOUT ***/
importScript('mediawiki:layout.js');
/*** GLOSSAR ***/
importScript('mediawiki:glossar.js');
/*** POPUPS ***/
importScript('mediawiki:popup.js');
}
}
/*** EDIT GADGETS ***/
if (wgAction=='edit') {
importScript('mediawiki:edit.js');
}