Jump to content

User:DavRosen/commonAnylang.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.
/* commonAnylang can be invoked by my common.js on any wikipedia   note: I found two wp's (Persian/fa and Spanish/es) that did not allow me to create a common.js because I wasn't an autoconfirmed user */
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DavRosen/SidebarReorderTranslate.js' + '&action=raw&ctype=text/javascript'); // unfortunately removes the special bullets that identify languages having particularly good articles

if (wgCanonicalSpecialPageName == 'Watchlist') { 
	importScript('user:js/markZeroEdits.js') //doesn't seem to work 2017-01-18 //[[user:js/markZeroEdits]]: highlight zero size collapsed edits
	// importScript('user:js/watchlist.js'); 
    // does nothing?   importScript('User:UncleDouggie/smart watchlist.js'); 
}