User:Lightmouse/monobook.js/script.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 19:
winc('[[User:Omegatron/monobook.js/addlink.js]]'); /* Adds links to lists on the page, such as the personal tools section */
winc('[[User:Omegatron/monobook.js/edittop.js]]'); /* Adds a link to edit the top (intro) section of an article */
/* winc('[[User:Omegatron/monobook.js/unwatch.js]]'); Adds unwatch links to watchlist entries */
/*winc('[[User:Omegatron/monobook.js/autolinker.js]]'); Make [[links]] and {{templates}} clickable */
 
 
/* Let's try a different unwatch script */
 
winc('[[User:Alex Smotrov/wlunwatch.js]]');
 
 
 
if (wgCanonicalSpecialPageName && wgCanonicalSpecialPageName == 'Watchlist')
addOnloadHook(function () {
var lnk = document.createElement('a');
var text = (window.wgAjaxWatch ? wgAjaxWatch.unwatchMsg : 'Unwatch') + '…';
lnk.appendChild(document.createTextNode(text));
lnk.href = 'javascript:importScript("ajaxUnwatch")';
var frm = document.getElementsByTagName('form')[0];
frm.parentNode.insertBefore(document.createTextNode(' | '), frm);
frm.parentNode.insertBefore(lnk, frm);
})
 
 
Line 25 ⟶ 44:
 
winc('[[User:Omegatron/monobook.js/replacetab.js]]'); // Regex replacements in the text (from [[User:Trilobite/Tools]])
winc('[[User:Omegatron/monobook.js/unverified.js]]'); // Tag unverified images (from [[User:Trilobite/Tools]])
// winc('[[User:Omegatron/monobook.js/addsincetab.js]]'); // Shows difference between my last edit and current version ([[Wikipedia:WikiProject User scripts/Scripts/Changes since I last edited]])
winc('[[User:Omegatron/monobook.js/dashfixer.js]]'); // Converts -- into — and so on (User:Omegatron)
winc('[[User:Omegatron/monobook.js/unitformatter.js]]'); // Formats units according to SI (User:Omegatron)
winc('[[User:Omegatron/monobook.js/mathcharacterfixer.js]]'); // Fixes up some math characters (not TeX) (User:Omegatron)
winc('[[User:Omegatron/monobook.js/headingformattingfixer.js]]'); // Adds and removes whitespace to make formatting consistent and readable (User:Omegatron)
 
winc('[[User:Nohat/IPA.js]]'); // IPA pop-ups?
Line 50 ⟶ 71:
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/RegExTypoFix.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Cacycle/wikEd international]] translation here
 
// install [[User:Cacycle/wikEd]] editing page extension