Jump to content

User:Mr.Z-man/refToolbar.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mr.Z-man (talk | contribs) at 21:56, 1 July 2010 (sync). 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.
if( typeof wgWikiEditorPreferences != 'undefined' && wgWikiEditorPreferences.toolbar ) {
 if (wgServer == "https://secure.wikimedia.org") {
   importScriptURI("https://secure.wikimedia.org/wikipedia/en/w/index.php?title=User:Mr.Z-man/refToolbar_2.0/base.js&action=raw&ctype=text/javascript");
 } else {
   importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/refToolbar_2.0/base.js&action=raw&ctype=text/javascript');
 }
 if( wgWikiEditorPreferences.toolbar.enable && wgWikiEditorPreferences.toolbar.dialogs /*&& navigator.userAgent.indexOf('MSIE') == -1*/ ) {
  importScript('User:Mr.Z-man/refToolbar 2.0.js');
 } else if( wgWikiEditorPreferences.toolbar.enable ) {
  importScript('User:Mr.Z-man/refToolbarIE.js');
 }
} else if (wgAction == 'edit' || wgAction == 'submit') {
  importScript('User:Apoc2400/refToolbarPlus.js');
}