Jump to content

User:Quiddity/common.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.
/* User:Zhaofeng Li/Reflinks.js */
//importScript( 'User:Zhaofeng Li/Reflinks.js' );// Backlink: [[User:Zhaofeng Li/Reflinks.js]]

// test https://wikitech.wikimedia.org/wiki/Nova_Resource:Catgraph/Deepcat
//mw.loader.load( "//de.wikipedia.org/w/index.php?title=User:Christoph Fischer (WMDE)/Gadgets/DeepCat.js&action=raw&ctype=text/javascript" );
//mw.loader.load( "//de.wikipedia.org/w/index.php?title=User:Christoph Fischer (WMDE)/Gadgets/DeepCat.css&action=raw&ctype=text/css" , "text/css" );

// [[User:TheDJ/ActualLivePreview.js]]
//mw.loader.load('//wiki.riteme.site/w/index.php?title=User:TheDJ/ActualLivePreview.js&action=raw&ctype=text/javascript');

// Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
//importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); 

// Test Yair rand's wikidata info script
//mw.loader.load('https://www.wikidata.org/w/index.php?title=User:Yair_rand/WikidataInfo.js&action=raw&ctype=text/javascript');

// Not working at the moment - Test Magnus Manske's wikidata script -- http://magnusmanske.de/wordpress/?p=342
//mw.loader.load('https://wiki.riteme.site/w/index.php?title=User:Magnus_Manske/autodesc.js&action=raw&ctype=text/javascript');

// disable for now. [[File:Perhelion/userstatus.js]]
// if ( [ 2, 3 ].indexOf( mw.config.get( 'wgNamespaceNumber' ) ) !== -1 && ( !mw.config.get( 'wgArticleId' ) || mw.config.get( 'wgAction' ) === 'view' ) )
// 	mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Perhelion/userstatus.js&action=raw&ctype=text/javascript' );

// importScript( 'User:Volker_E._(WMF)/dark-mode.js' );

// test User:SuperHamster/CiteUnseen
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:SuperHamster/CiteUnseen.js&action=raw&ctype=text/javascript&oldid=1018279472');

// test User:Novem_Linguae/Scripts/CiteHighlighter
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:Novem Linguae/Scripts/CiteHighlighter.js&action=raw&ctype=text/javascript&oldid=1037413027');

// Backlink: [[User:Headbomb/unreliable.js]]
// importScript( 'User:Headbomb/unreliable.js' ); 

// user:js/6tabs-vector
// importScript('user:js/6tabs-vector.js')


// Add another link to Special:Random after search bar (related code in global.js/css)
mw.util.addPortletLink(
 'p-vector-user-menu-preferences',
 mw.util.getUrl('Special:RandomInCategory/All pages needing cleanup'),
 'R.',
 'pt-random',
 'Random cleanup',
 null,
 '#ca-uls'
 );