User:So9q/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 So9q on every page load.


importScript( 'User:So9q/sandbox.js' );
// test french CreerTrad
importScript( 'User:So9q/CreerTrad.js' ); // Backlink: [[User:So9q/translation-editor.js]]

// My rewrite of newentrywiz
importScript( 'User:So9q/new-entry-creator.js' );
/* Improved Translation Adder:
//needed additionally on mobile view
importScript( 'MediaWiki:Gadget-StorageUtils.js' );
importScript( 'MediaWiki:Gadget-LegacyScriptsNewNode.js' ); //this is legacy and should be substituted for jQuery
importScript( 'MediaWiki:Gadget-DefSideBoxes.js' );
importScript( 'MediaWiki:Gadget-Editor.js' );*/
importScript( 'User:So9q/ImprovedTranslationAdder.js' ); // Backlink: [[User:So9q/TranslationAdder.js]]
// Test french fork
//importScript( 'User:So9q/translation-editor.js' ); // Backlink: [[User:So9q/translation-editor.js]]

// Enable for useful languages
window.CustomInputFillerLanguages = "[lang=cs], [lang=da], [lang=de], [lang=eo], [lang=es], [lang=fo], [lang=fr], [lang=nb], [lang=nl], [lang=no], [lang=sv]";
importScript( 'User:So9q/TranslationAdder-InputFiller.js' ); // Backlink: [[User:So9q/TranslationAdder-InputFiller.js]]

// Show only the following languages
window.CustomLanguagesFilter = "[lang=nb], [lang=da], [lang=eo], [lang=fr], [lang=de], [lang=sv], [lang=no], [lang=nl]";
//importScript('User:So9q/FilterTranslations.js'); //Linkback: [[User:So9q/FilterTranslations.js]] Added by Script installer

//importScript('User:Hippietrail/ajaxtranslinks.js');
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
importScript( 'User:Erutuon/scripts/ScriptInstaller.js' ); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
//importScript('User:Dixtosa/expandASADRS.js'); //Linkback: [[User:Dixtosa/expandASADRS.js]] Added by Script installer
//importScript('User:Dixtosa/highlightme.js'); //Linkback: [[User:Dixtosa/highlightme.js]] Added by Script installer
//importScript('User:Erutuon/scripts/simpleTranslations.js'); //Linkback: [[User:Erutuon/scripts/simpleTranslations.js]] Added by Script installer
//importScript('User:Erutuon/scripts/TemplateScript.js'); //Linkback: [[User:Erutuon/scripts/TemplateScript.js]] Added by Script installer
//importScript('User:Yair rand/transnewentry.js'); //Linkback: [[User:Yair rand/transnewentry.js]] Added by Script installer
//importScript('User:So9q/EditTranslations.js'); //Linkback: [[User:So9q/EditTranslations.js]] Added by Script installer
importScript('User:So9q/Improved-xte.js'); //Linkback: [[User:So9q/Improved-xte.js]] Added by Script installer