User:MSorglos/monobook.js

From Guild Wars Wiki
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// Lupin's popups, [http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups]
 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>');
 function siteArticlePath(){ return 'wiki'; }
 function siteBotInterfacePath(){ return ''; }
// disabling features that depend on query.php until that is installed
 popupUseQueryInterface=false;
 popupImages=false;
 popupSummaryData=false;
 popupPreviewFirstParOnly=false;
 popupRevertSummary='Reverting to revision %s using popups (reverting spam or vandalism), due to missing query.php there are no further informations here :-)';

 /**** Guild Wars Wiki Tools
  * (c) 2007 by Patrick Westerhoff [poke]
  */
 var head = document.getElementsByTagName( 'head' )[0];
 head.appendChild( document.createElement( 'script' ) );
 head.lastChild.src  = '/index.php?title=User:Poke/GuildWarsWikiTools.js&action=raw&ctype=text/javascript';
 head.lastChild.type = 'text/javascript';

/*
 // GuildWatch - by [[User:Ale_jrb]]

function importScript(page, lang) {
     var url = wgScriptPath + '/index.php?title='
                            + encodeURIComponent(page.replace(' ','_'))
                            + '&action=raw&ctype=text/javascript&dontcountme=s';
     if (lang) url = 'http://' + lang + '.wikipedia.org' + url;
     var s = document.createElement('script');
     s.src = url;
     s.type='text/javascript';
     document.getElementsByTagName('head')[0].appendChild(s);
 }

// Need the addPortlet function...
 importScript('User:Ale_jrb/portlet.js');

// Get the Guild Watch function...
 importScript('User:Ale_jrb/guildwatch.js');

// Get the editing functions...
 importScript('User:Ale_jrb/guildwatchfuncs.js');
*/