User:Connel MacKenzie/didyoumean2.js

// Since dev's won't install 11794, reimplement in Javascript, until the servers collapse. //I.e., for the page "AAA", generate 3^32 separate HTTP page lookup AJAX requests. If any hit, //add that page title to the "See also:" line.

//Since normalizing won't work, simply AJAX requests for all possible spelling variations (on every page load, for every NS:0 page)

var replacements = new Array;

replacements[0] = [ 'AaＡａÁáÀàÂâÄäǍǎĂăĀāÃãÅåĄąẤấẢảẠạẬậª', 'A', 'ÆæǼǽǢǣ', 'AE', 'BbＢｂ', 'B',

'CcＣｃĆćĊċĈĉČčÇç', 'C', 'DdＤｄĎďĐđÐðƉɖ', 'D', 'EeＥｅÉéÈèĖėÊêËëĚěĒēẼẽĘęẾếỀềḖḗỂểẸẹỆệƏə', 'E', 'Ɛɛ', 'Ɛ', 'FfＦｆ', 'F', 'GgＧｇĠġĜĝǦǧĞğĢģǤǥ', 'G', 'HhＨｈĤĥĦħḤḥ', 'H', 'IiＩｉÍíÌìİıÎîÏïĬĭĪīĨĩĮįỊị', 'I', 'Ĳĳ', 'IJ', 'JjＪｊĴĵ', 'J', 'KkＫｋǨǩ', 'K', 'LlＬｌĹĺĽľĻļŁłḺḻ', 'L', 'MmＭｍḾḿṂṃ', 'M', 'NnＮｎŃńŇňÑñṆṇŊŋⁿ', 'N', 'OoＯｏÓóÒòÔôÖöŌōÕõŐőỐốỒồØøǾǿƠơỚớỜờỘộỞở0º', 'O', 'Œœ', 'OE', 'Ɔɔ', 'Ɔ', 'PpＰｐ', 'P', 'QqＱｑ', 'Q', 'RrＲｒŔŕŘřṞṟṚṛ', 'R', 'SsＳｓŚśŜŝŠšŞşṢṣ', 'S', 'TtＴｔŤťŢţṮṯṬṭŦŧ', 'T', 'UuＵｕÚúÙùÛûÜüŬŭŪūŨũŮůŲųŰűǗǘǛǜǙǚǕǖỦủƯưỤụỨứỪừỮữỬửỬửỰự', 'U', 'VvＶｖ', 'V', 'WwＷｗẂẃẀẁŴŵẄẅ', 'W', 'XxＸｘ', 'X', 'YyＹｙÝýỲỳŶŷŸÿỸỹ', 'Y', 'ZzＺｚŹźŻżŽž', 'Z', 'ÞþǷƿ', 'þ',

'ΑαΆάᾶ', 'Α', 'Ββ', 'Β', 'Γγ', 'Γ', 'Δδ', 'Δ', 'ΕεΈέ', 'Ε', 'Ζζ', 'Ζ', 'ΗηΉήῆῆ', 'Η', 'Θθ', 'Θ', 'ΙιΊίΪϊἸἰἼἴἿἷῖ', 'Ι', 'Κκ', 'Κ', 'Λλ', 'Λ', 'Μμ', 'Μ', 'Νν', 'Ν', 'Ξξ', 'Ξ', 'ΟοΌό', 'Ο', 'Ππ', 'Π', 'ΡρῤῤῬῥ', 'Ρ', 'Σσς', 'Σ', 'Ττ', 'Τ', 'ΥυΎύὐὐ', 'Υ', 'Φφ', 'Φ', 'Χχ', 'Χ', 'Ψψ', 'Ψ', 'ΩωΏώῶῶ', 'Ω',

'Аа', 'А', 'Бб', 'Б', 'Вв', 'В', 'ГгҐґҒғҔҕ', 'Г', 'Дд', 'Д', 'Ђђ', 'Ђ', 'ЕеЁёӘә', 'Е', 'Жж', 'Ж', 'ЗзЭэЄє', 'З', 'Ѕѕ', 'Ѕ', 'ИиЙй', 'И', 'ІіЇїӀ', 'І', 'Јј', 'Ј', 'Кк', 'К', 'ЛлЉљ', 'Л', 'Мм', 'М', 'НнЊњ', 'Н', 'ОоӨө', 'О', 'Пп', 'П', 'Рр', 'Р', 'Сс', 'С', 'Тт', 'Т', 'ЋћҺһ', 'Ћ', 'УуЎўҮү', 'У', 'Фф', 'Ф', 'Хх', 'Х', 'ЦцЏџ', 'Ц', 'Чч', 'Ч', 'ШшЩщ', 'Ш', 'Ыы', 'Ы', 'ЬьЪъѢѣ', 'Ь', 'Юю', 'Ю', 'Яя', 'Я',

//come back to the rest when this works

, ];