User:Elvey/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:Elvey/common.css. |
//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§ion=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');