MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
Zeile 10: | Zeile 10: | ||
document.write ( | document.write ( | ||
'<style>' + | '<style>' + | ||
− | + | ' #siteNotice.fixed {}' + //0 | |
− | + | ' .glossar2:hover small small {}' + //1 | |
− | |||
− | ' #siteNotice.fixed {}' + // | ||
− | ' .glossar2:hover small small {}' + // | ||
− | |||
' </style>' | ' </style>' | ||
); | ); |
Version vom 4. Januar 2012, 22:23 Uhr
for (i in wgUserGroups)
if (wgUserGroups[i] == 'sysop')
var sysopRights = true;
/***********************************
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');
}