Jump to content

User:Cacycle/monobook.js

From Wikipedia, the free encyclopedia
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.
//importScript('User:Cacycle/wikEd.js');
//var leftEditLinkFontSize = 'large';
//var leftEditLinkSpacing = '10em';

// importScript("MediaWiki:Gadget-lefteditlinks.js");

// importScript('User:Cacycle/recent2.js');
wikEdUseWikEdPreset = false;
// importScript("User:Lupin/recent2.js");

var wikEdShowSourceButton = true;
var wikEdRegExTypoFix = true;
var wikEdShowTableModeButton = true;
//var wikEdLoadDiffScript = false;
//var wikEdLoadDiff = false;
//var wikEdSkipBrowserTest = true;
/*
// install [[User:Cacycle/wikEd international]] English example translation
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd_international_en.js'
+ '&action=raw&ctype=text/javascript');
*/

/*
// install [[User:Cacycle/wikEd]] editing page extension
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');
*/

/*
// install [[User:Cacycle/wikEd]] editing page extension - DEV
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd_dev.js'
+ '&action=raw&ctype=text/javascript');
*/

/*
// install [[User:Cacycle/wikEdDiff]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js'
+ '&action=raw&ctype=text/javascript');
*/

/*
// install [[User:Cacycle/wikiWatch]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikiWatch.js'
+ '&action=raw&ctype=text/javascript');
*/

/*
// install [[user:js/watchlist.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=user:js/watchlist.js'
+ '&action=raw&ctype=text/javascript');
*/


addOnloadHook(
  function() {
    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/tricks', 'tricks', '', '', '', '');
    mw.util.addPortletLink('p-personal', '/w/index.php?title=User:Cacycle/test&action=edit', 'test', '', '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/monobook.js',  'monobook.js',  '',  '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikEd',  'wikEd',  '',  '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User_talk:Cacycle/wikEd',  'wikEd talk',  '',  '', '', '');
//    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikEd_help',  'wikEd help',  '',  '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikEd.js',  'wikEd.js',  '',  '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikEd_development',  'wikEd dev',  '',  '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User_talk:Cacycle/wikEd_development',  'wikEd dev talk',  '',  '', '', '');
    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikEd_dev.js',  'wikEd_dev.js',  '',  '', '', '');
//    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikiWatch',  'wikiWatch',  '',  '', '', '');
//    mw.util.addPortletLink('p-personal', '/wiki/User:Cacycle/wikiWatch.js',  'wikiWatch.js',  '',  '', '', '');
    if (document.getElementById('ca-edit') != null) {
      document.getElementById('ca-edit').firstChild.innerHTML = 'edit';
    }
  }
);


/* </nowiki></pre> */