User:Dixtosa/common.js

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

This JavaScript is executed for Dixtosa on every page load.


// see also [[Meta:User:Dixtosa/global.js]]

// USE ?safemode=1 to see if an issue is caused by my common.js. 


mw.loader.load("//en.wikipedia.org/w/index.php?title=User:PleaseStand/userScriptSandbox.js&action=raw&ctype=text/javascript" );
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Kephir/gadgets/jssand.js&action=raw&ctype=text/javascript');
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:קיפודנחש/viewstats.js&action=raw&ctype=text/javascript');


//if (mw.config.values.wgPageName.endsWith('.js')){
//importScript('User:Erutuon/scripts/ScriptInstaller.js'); //Linkback: [[User:Erutuon/ScriptInstaller.js]] Added by Script installer
//}
if ( mw.config.values.wgNamespaceNumber === 14 ){
importScript('User:Erutuon/addAutoCat.js'); //Linkback: [[User:Erutuon/addAutoCat.js]] Added by Script installer
}

//largely my stuff
importScript('User:Dixtosa/expandable.js'); //Linkback: [[User:Dixtosa/expandable.js]] Added by Script installer
if (mw.config.values.wgCanonicalSpecialPageName == 'Watchlist'){
}

if (mw.config.get("wgNamespaceNumber") === 0){
importScript('User:Dixtosa/minorEdits.js'); //Linkback: [[User:Dixtosa/minorEdits.js]] Added by Script installer
importScript('User:Dixtosa/expandASADRS.js'); //Linkback: [[User:Dixtosa/expandASADRS.js]] Added by Script installer
importScript('User:Dixtosa/nymReferer.js'); //Linkback: [[User:Dixtosa/nymReferer.js]] Added by Script installer
importScript('User:Dixtosa/link to GED.js'); //Linkback: [[User:Dixtosa/link to GED.js]] Added by Script installer
importScript('User:Dixtosa/addWiki.js'); //Linkback: [[User:Dixtosa/addWiki.js]] Added by Script installer
}
//ka recent changes
mw.loader.using( ['mediawiki.util'] ).then( function () {
    mw.util.addPortletLink( 'p-personal', '/w/index.php?title=Special:RecentChangesLinked&hidemyself=1&namespace=0&associated=1&target=Wiktionary%3AGeorgian+transliteration&showlinkedto=1', 'kaRecentChanges', 'pt-kaRecentChanges', "recent changes (Georgian edition)", "", "#pt-userpage");
} );

importScript('User:Dixtosa/editAndGo.js'); //Linkback: [[User:Dixtosa/editAndGo.js]] Added by Script installer

window.Tbot = {LanguagesToGreenify : ["ka"]};
importScript('User:Ruakh/Tbot.js'); //Linkback: [[User:Ruakh/Tbot.js]] Added by Script installer

importScript('User:Dixtosa/autoSummary.js'); //Linkback: [[User:Dixtosa/autoSummary.js]] Added by Script installer
importScript('User:Dixtosa/skipToPost.js'); //Linkback: [[User:Dixtosa/skipToPost.js]] Added by Script installer
importScript('User:Dixtosa/SearchInTranslations.js'); //Linkback: [[User:Dixtosa/SearchInTranslations.js]] Added by Script installer
importScript('User:Aryamanarora/creationrules.js'); //Linkback: [[User:Aryamanarora/creationrules.js]] Added by Script installer
importScript('User:Erutuon/scripts/accel.js'); //Linkback: [[User:Erutuon/scripts/accel.js]] Added by Script installer
importScript('User:Dixtosa/NewerEntryCreator-develop.js'); //Linkback: [[User:Dixtosa/NewerEntryCreator-develop.js]] Added by Script installer