Jump to content

User:Elvey/common.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
//Prev. code was works; I just needed to know to use/find/see the button.
//What's the following line for?
userHideAllSubsequent=true;

importScript('User:Markhurd/hidetopcontrib.js');

/* User:Technical_13/Scripts/OneClickArchiver */
importScript( 'User:Technical_13/Scripts/OneClickArchiver.js' );// Backlink: [[User:Technical_13/Scripts/OneClickArchiver]]

importScript('User:Mattflaschen/CommonsHelper Labs.js'); //Linkback: [[User:Mattflaschen/CommonsHelper Labs.js]] Added by Script installer

importScript( 'User:Equazcion/ScriptInstaller.js' ); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
//Implemented ideas source: [[User:Omni_Flames/common.js]]

importScript('User:Evad37/TFDcloser.js'); // [[User:Evad37/TFDcloser]]

/* Link to Wikiblame */
mw.util.addPortletLink('p-tb', "http://wikipedia.ramselehof.de/wikiblame.php?user_lang=en&lang=en&project=wikipedia&article=" + wgPageName, "Wikiblame", "pt-Wikiblame", "Wikiblame");

//WAG that worked -  one way to get it back out from the submenu, and somewhere handy
mw.util.addPortletLink('p-tb', "https://en.wikipedia.org/w/index.php?action=history&title=" + wgPageName, "HistorY", "pt-HistorE", "HistorE");

//Total kluges based on working WAG above.
mw.util.addPortletLink('p-tb', "https://en.wikipedia.org/w/index.php?action=history&title=Talk:" + wgPageName, "TalkHist", "pt-TalkHist", "TalkHist");

//WAG2
mw.util.addPortletLink('p-tb', "https://en.wikipedia.org/w/index.php?action=history&title=" + wgPageName.replace("Talk:", ""), "PageHist", "pt-PageHist", "PageHist");

//Hmm...
mw.util.addPortletLink('p-tb', "https://en.wikipedia.org/w/index.php?action=edit&preload=Wikipedia%3ARequests_for_undeletion%2FExample&editintro=Wikipedia%3ARequests_for_undeletion%2FIntro&section=new&title=Wikipedia%3ARequests_for_undeletion&create=Request&preloadtitle=" + wgPageName, "ReqUndeletion", "pt-Undelt", "Undelete");


mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

//https://meta.wikimedia.org/wiki/User:Hedonil/XTools
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');