User:Margotbean/common.js

From Stardew Valley Wiki
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
//--------------------------------------------------------
//https://es.wikipedia.org/wiki/MediaWiki:Common.js
/*
(function() {
  var letras = [["áàâäãāăåą", "a"], ["æ", "ae"], ["ćĉčç", "c"], ["ďḑđð", "d"], ["éèêëẽěēĕę", "e"],
            ["ĝḡğģǥ", "g"], ["ĥḧḩħ", "h"], ["íìÎîïĩīĭįı", "i"], ["ĵ", "j"], ["ķ", "k"],
            ["ĺľļł", "l"], ["ńňņ", "n"], ["ñ", "n~"], ["óòôöõōŏǫőø", "o"], ["œ", "oe"],
            ["ŕřŗ", "r"], ["śŝšş", "s"], ["ß", "ss"], ["ťţŧ", "t"], ["úùûüũūŭůųű", "u"], ["ṽ", "v"],
            ["ŵẅ", "w"], ["ẍ", "x"], ["ýŷÿỹ", "y"], ["źẑžƶ", "z"]];
  var hash = {};
  for (var i = 0; i < letras.length; i++) {
    var arr = letras[i][0].split("");
    var dest = letras[i][1];
    for (var j = 0; j < arr.length; j++) {
      hash[arr[j]] = dest;
    }
  }
  mw.config.set('tableSorterCollation', hash);
})();
*/
//NOTE THIS WILL NOT WORK FOR TURKISH!  "C" and "Ç" are different letters; "G" and "Ğ", "O" and "Ö", "S" and "Ş", "U" and "Ü" as well.
//--------------------------------------------------------
//https://fr.stardewvalleywiki.com/MediaWiki:Common.js

//https://de.wikipedia.org/wiki/MediaWiki:Common.js
//https://ru.wikipedia.org/wiki/MediaWiki:Common.js
//https://fr.wikipedia.org/wiki/MediaWiki:Common.js
//https://it.wikipedia.org/wiki/MediaWiki:Common.js