MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
Zeile 10: | Zeile 10: | ||
'<style>' + | '<style>' + | ||
' #content {}' + //0 | ' #content {}' + //0 | ||
− | + | ' #content #bodyContent{}' + //1 | |
− | + | ' #siteNotice.fixed{}' + //2 | |
− | ' #content #bodyContent{}' + // | + | ' .glossar2:hover small small {}' + //4 |
− | ' #siteNotice {}' + // | ||
− | |||
− | |||
− | |||
− | ' .glossar2:hover small small {}' + // | ||
' </style>' | ' </style>' | ||
); | ); |
Version vom 4. Januar 2012, 16:52 Uhr
for (i in wgUserGroups)
if (wgUserGroups[i] == 'sysop')
var sysopRights = true;
/***********************************
Stylesheet changes
***********************************/
document.write (
'<style>' +
' #content {}' + //0
' #content #bodyContent{}' + //1
' #siteNotice.fixed{}' + //2
' .glossar2:hover small small {}' + //4
' </style>'
);
var newCSS = document.styleSheets[document.styleSheets.length-1],
newRules = newCSS.cssRules || newCSS.rules; // für alle Browser ansprechbar
/***********************************
IMPORT
***********************************/
/*** LAYOUT ***/
/*** GLOSSAR ***/
importScript('mediawiki:glossar.js');
/*** NAVIGATION ***/
importScript('mediawiki:navigation.js');
/*** POPUPS ***/
importScript('mediawiki:popup.js');