Nothing Special   »   [go: up one dir, main page]

Jump to content

User:Agathoclea/monobook.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Agathoclea (talk | contribs) at 11:45, 16 January 2009 ({{subst:js|User:Dr pda/persondata.js}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//<nowiki>
// [[User:Outriggr/metadatatest.js]]      
importScript('User:Outriggr/metadatatest.js');
assessmentMyTemplateCode = ["{{WikiProject Germany|class=|importance=}}", "{{WikiProject Wales|class=|importance=}}", "{{WikiProject Wales|class=|importance=}}","{{WikiProjectSongs|class=}}"];
assessmentDefaultProject = "WikiProject Germany";
// </nowiki>

function inc (file) {
  var lt = String.fromCharCode(60);
  var gt = String.fromCharCode(62);
  document.writeln(lt+'script type="text/javascript" src="/w/index.php?title='+file+'&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"'+gt+lt+'/script'+gt);
}

// [[User:Lupin/popups.js]] - please include this line 

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// Filter changes live
// [[User:Lupin/recent2.js]] - please include this line
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

popupFixDabs=true;
popupFixRedirs=true;
popupAdminLinks=true;
popupOnEditSelection=false;

/////////////////////////////////////////////////////////////////////
/////////////////////////// SPERRSTATUS /////////////////////////////
/////////////////////////////////////////////////////////////////////
addOnloadHook(function () {
   var farbe = '#54ff9f';
   if ( document.getElementById('ca-edit') ) {
       var obj  = document.getElementById('ca-edit');
       var temp = String(wgRestrictionEdit);
       if (temp == 'autoconfirmed') {
           farbe = '#ffa500';
       } else if (temp == 'sysop') {
           farbe = '#ff6a6a';
       }
   } 
   if ( document.getElementById('ca-viewsource') ) {
       var obj = document.getElementById('ca-viewsource');
       farbe = '#ff0000';
   }
   if ( obj ) {
       obj.firstChild.style.backgroundColor = farbe + ' !important';
   }
});
/////////////////////////////////////////////////////////////////////
///////////////////////ENDE SPERRSTATUS /////////////////////////////
/////////////////////////////////////////////////////////////////////

//</nowiki>

//

importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]
importScript('User:TheDJ/Gadget-HotCat.js')
  importScript('User:AzaToth/morebits.js');
  importScript('User:AWeenieMan/furme.js');