User:Butlerblog/common.js

mw.loader.load( '/w/index.php?title=User:Evad37/duplinks-alt.js&action=raw&ctype=text/javascript' ); // Backlink: User:Evad37/duplinks-alt.js mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: User:Evad37/rater.js mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: User:RedWarn/.js mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript' ); // Backlink: User:Joeytje50/JWB

// Usage: add importScript(User:Svick/HarvErrors.js); to Special:Mypage/skin.js // See also Wikipedia:Centralized discussion/Citation discussion#Technical discussion regarding Harvard Refs // This script works fine for Harvard references in tags, but for inline Harv. refs, // the error message shows up at the end of the paragraph in which the error is error = " Harv error: this link doesn't point to any citation. ";

jQuery(document).ready(function($) { links = document.links; for (i=0; i < links.length; i++) { href = links[i].getAttribute('href');  if (href.indexOf('#CITEREF') == 0)   if (document.getElementById(href.substring(1)) == null)    links[i].parentNode.innerHTML += error; } });

importScript( 'User:MPGuy2824/MoveToDraft.js' ); // Backlink: User:MPGuy2824/MoveToDraft.js importScript( 'User:SD0001/StubSorter.js' ); // User:SD0001/StubSorter.js importScript('User:SD0001/GAN-helper.js'); // Backlink: User:SD0001/GAN-helper.js importScript( 'User:Enterprisey/easy-brfa.js' ); // Backlink: User:Enterprisey/easy-brfa.js