Jump to content

User:Habst/common.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Habst (talk | contribs) at 19:38, 12 July 2024 (bookmark). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.
window.popupFixDabs = true;
window.popupDabsAutoClick = 'wpSave';

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

// mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_AllEditors.js&action=raw&ctype=text/javascript' );
//importScript("User:Writ Keeper/Scripts/teahouseUtility.js");
//importScript("User:Writ Keeper/Scripts/teahouseTalkback.js");
//mw.loader.load( '/w/index.php?title=User:Habst/LinkSuggest.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Habst/LinkSuggest.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/CopySectLink.js&action=raw&ctype=text/javascript');
//mw.loader.load( '/w/index.php?title=User:MusikAnimal/customWatchlists.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:MusikAnimal/customWatchlists.js]]
/** This script contains the code required for loading [[User:Joeytje50/AWB.js]].
 *  All other code is located at that page.
 */

importScript('User:BrandonXLF/QuickEdit.js'); // [[User:BrandonXLF/QuickEdit.js]]
// mw.loader.load( '//www.mediawiki.org/w/load.php?modules=ext.gadget.Global-MiniEdit' );
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Wugapodes/Capricorn.js&action=raw&ctype=text/javascript');

window.catALotPrefs = {editpages:  true, "redir_category": "Wikipedia soft redirected categories"};
mw.loader.load('jquery.ui.resizable');
importScriptURI('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-Cat-a-lot.js');
importStylesheetURI('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-Cat-a-lot.css');

// importScript('User:Novem Linguae/Scripts/CiteHighlighter.js'); // [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
importScript('User:SD0001/GAN-helper.js'); // Backlink: [[User:SD0001/GAN-helper.js]]

// Add WikiBlame launcher to the Tools menu
$(function () {
  mw.util.addPortletLink(
    "p-tb",     // toolbox portlet
    "http://ramselehof.de/wikipedia/wikiblame.php?user_lang=en&lang=" + mw.config.get('wgContentLanguage') + "&project=wikipedia&article=" + mw.config.get('wgPageName') + "&needle=&skipversions=0&ignorefirst=0&limit=500&searchmethod=int&order=desc&user=",
    "WikiBlame"  // link label
  );
  mw.util.addPortlet( 'p-mytest', 'Bookmarks', '#p-interaction' );
  mw.util.addPortletLink( 'p-mytest', '/wiki/Wikipedia:WikiProject_Deletion_sorting/Sport_of_athletics', 'DelSort' );
  mw.util.addPortletLink( 'p-mytest', '/wiki/User:AlexNewArtBot/AthleticsSearchResult', 'NewPages' );
});

importScript('User:PrimeHunter/Source links.js'); // Linkback: [[User:PrimeHunter/Source links.js]]
importScript('User:Habst/wikidata Qnum.js'); // Backlink: [[User:Habst/wikidata Qnum.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:Ahecht/Scripts/draft-sorter.js'); // Backlink: [[User:Ahecht/Scripts/draft-sorter.js]]