Jump to content

User:Br'er Rabbit/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.
importScript('User:Lupin/popups.js');

popupFixRedirs=true;
popupRedlinkRemoval=true;
popupFixDabs=true;

importScript('User:Cameltrader/Advisor.js');

importScript('User:GregU/dashes.js');

var SegregateRefsJsAllowConversion = true;
importScript('User:PleaseStand/segregate-refs.js');

importScript('User:Ucucha/HarvErrors.js');
importScript('User:Ucucha/duplinks.js');

importScript('User:Ohconfucius/script/Common Terms.js');
importScript('User:Ohconfucius/script/EngvarB.js');
importScript('User:Ohconfucius/script/MOSNUM dates.js');
$(function ()
{
 if (document.forms.editform)
 {
  mw.util.addPortletLink('p-tb', 'javascript:Ohc_cite_dates_to_ISO()', 'CITE dates to ISO', 't-ISO', 'ISO day month', '', '');
  mw.util.addPortletLink('p-tb', 'javascript:Ohc_code_delink_dates()', 'delink dates', 't-dmy', 'day month + CT', '', '');
  mw.util.addPortletLink('p-tb', 'javascript:Ohc_protect_dates()', 'protect dates', 't-dmy', 'day month + CT', '', '');
  mw.util.addPortletLink('p-tb', 'javascript:Ohc_remove_leading_zeros_from_nonlinked_dates ()', 'rem leading zeros', 't-dmy', 'day month + CT', '', '');
 }
});

importScript('User:Ohconfucius/script/formatgeneral.js');

importScript('User:WOSlinker/hlist.js');

importScript('user:js/urldecoder.js')
var urlDecoderIntLinks = true; //also try to simplify existing [[internal links]] in selected text

importScript('User:Scottywong/diffconverter.js');

// Add [[WP:Reflinks]] launcher in the toolbox on left
$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
   + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
  "Reflinks"  // link label
)});

importScript('User:Smith609/reftool2.js');

importScript('User:Dr_pda/editrefs.js');
importScript('User:קיפודנחש/TemplateParamWizard.js');