User:PerfektesChaos/js/editToolStrIns/Details/enwiki
Appearance
This pages defines a .l10n
example which simulates appearance and behaviour of the tool as available on the English Wikipedia (en:MediaWiki:Edittools.js) in October 2011. CSS issues are not covered here.
With exception of general IPA and Symbol the global repository was not accessd, but defined in particular manner.
The added value of the tool is user customization and easy embedding of additional features by the user.
// <nowiki>
mw.libs.editToolStrIns.l10n[ "enwiki" ] = {
"config": { "cookieName": "edittoolscharsubset",
"groupSeparator": "\xA0\xA0 "
},
"list": [ "0", "Insert",
"[[]]", "Wiki markup",
"Symbol", "Symbols",
"Latin", "Latin",
"Greek", "Greek",
"Cyrillic", "Cyrillic",
"Hebrew", "Hebrew",
"Arabic", "Arabic",
"IPA_en", "IPA (English)",
"IPA_T", "IPA",
"MathLogic", "Math and logic"
],
"defs": {
"0": [ [ "–",
"—",
[ "‘", "’" ],
[ "“", "”" ] ],
false,
[ 1, "°″′≈≠≤≥±−×÷√←→·§" ],
[ 0, "<b>Sign your posts on talk pages:</b>" ],
[ "~~~~" ],
[ 0, "<b>Cite your sources:</b>" ],
[ [ "<ref>", "</ref>" ] ] ],
"[[]]": [ [ 0, "<b>Insert:</b>" ],
[ "–",
"—",
[ "‘", "’" ],
[ "“", "”" ] ],
false,
[ 1, "°″′≈≠≤≥±−×÷√←→·§" ],
false,
[ "~~~~",
[ "<ref>", "</ref>" ] ],
[ 0, "<b>Wiki markup:</b>" ],
[ [ "{{", "}}" ],
[ "{{{", "}}}" ],
"|",
[ "[", "]" ],
[ "[[", "]]" ],
[ "[[Category:", "]]" ],
[ "#REDIRECT [[", "]]" ],
" ",
[ "<s>", "</s>" ],
[ "<sup>", "</sup>" ],
[ "<sub>", "</sub>" ],
[ "<code>", "</code>" ],
[ "<pre>", "</pre>" ],
[ "<blockquote>", "</blockquote>" ],
[ "<ref name=\"", "\"/>" ],
[ "{{#tag:ref|", "|group=\"nb\"}}" ],
"{{Reflist}}",
"<references/>",
[ "<includeonly>", "</includeonly>" ],
[ "<noinclude>", "</noinclude>" ],
[ "{{DEFAULTSORT:", "}}" ],
[ "<no\wiki>", "</no\wiki>" ],
[ "<!-- ", " -->" ],
[ "<span class=\"plainlinks\">", "</span>" ] ] ],
"Arabic": [ { "dir": "rtl", "font-size": "120%" },
[ 0, "<b>Transcription:</b>" ],
[ 1, "ʾṯḥḫẖḏšṣḍṭẓʿġẗ",
"اﺁبتثجحخدذرزسشصضطظعغفقكلمنهةويىءأإؤئ" ] ],
"Cyrillic": [ [ 1, "АаБбВвГг",
"ҐґЃѓДдЂђ",
"ЕеЁёЄєЖж",
"ЗзЅѕИиІі",
"ЇїЙйЈјКк",
"ЌќЛлЉљМм",
"НнЊњОоПп",
"РрСсТтЋћ",
"УуЎўФфХх",
"ЦцЧчЏџШш",
"ЩщЪъЫыЬь",
"ЭэЮюЯя",
"ӘәӨөҒғҖҗ",
"ҚқҜҝҢңҮү",
"ҰұҲҳҸҹҺһ",
"ҔҕӢӣӮӯҘҙ",
"ҠҡҤҥҪҫӐӑ",
"ӒӓӔӕӖӗӰӱ",
"ӲӳӸӹӀ",
"ҞҟҦҧҨҩҬҭ",
"ҴҵҶҷҼҽҾҿ",
"ӁӂӃӄӇӈӋӌ",
"ӚӛӜӝӞӟӠӡ",
"ӤӥӦӧӪӫӴӵ" ] ],
"Greek": [ [ 1, "ΆάΈέΉήΊίΌόΎύΏώ",
"ΑαΒβΓγΔδ",
"ΕεΖζΗηΘθ",
"ΙιΚκΛλΜμ",
"ΝνΞξΟοΠπ",
"ΡρΣσςΤτΥυ",
"ΦφΧχΨψΩω",
"ᾼᾳᾴᾺὰᾲᾶᾷἈἀᾈᾀἉἁᾉᾁἌἄᾌᾄἊἂᾊᾂἎἆᾎᾆἍἅᾍᾅἋἃᾋᾃἏἇᾏᾇ",
"ῈὲἘἐἙἑἜἔἚἒἝἕἛἓ",
"ῌῃῄῊὴῂῆῇἨἠᾘᾐἩἡᾙᾑἬἤᾜᾔἪἢᾚᾒἮἦᾞᾖἭἥᾝᾕἫἣᾛᾓἯἧᾟᾗ",
"ῚὶῖἸἰἹἱἼἴἺἲἾἶἽἵἻἳἿἷ",
"ῸὸὈὀὉὁὌὄὊὂὍὅὋὃ",
"ῤῬῥ",
"ῪὺῦὐὙὑὔὒὖὝὕὛὓὟὗ",
"ῼῳῴῺὼῲῶῷὨὠᾨᾠὩὡᾩᾡὬὤᾬᾤὪὢᾪᾢὮὦᾮᾦὭὥᾭᾥὫὣᾫᾣὯὧᾯᾧ" ],
[ [ "{{Polytonic|", "}}" ] ] ],
"Hebrew": [ { "dir": "rtl", "font-size": "120%" },
[ 2, 0x05D0, 0x05EA,
0x05F3, 0x05F4,
0x05F0, 0x05F2 ] ],
"IPA_en": [ { "class": "IPA" },
[ -32, "ˈ ˌ ŋ ɡ tʃ dʒ ʃ ʒ θ ð ʔ",
"iː ɪ uː ʊ ʌ ɜr eɪ ɛ æ oʊ ɒ ɔː ɔɪ ɔr ɑː ɑr aɪ aʊ",
"ə ər ɨ ɵ ʉ" ],
[ [ "{{IPA-en|", "}}" ],
[ "{{IPA|/", "/}}" ],
[ "‹", "›" ] ] ],
"Latin": [ [ 1, "AaÁáÀàÂâÄäǍǎĂăĀāÃãÅåĄąÆæǢǣ",
"Bb",
"CcĆćĊċĈĉČčÇç",
"DdĎďĐđḌḍÐð",
"EeÉéÈèĖėÊêËëĚěĔĕĒēẼẽĘęƐɛƏə",
"Ff",
"GgĠġĜĝĞğĢģ",
"HhĤĥĦħḤḥ",
"IiİıÍíÌìÎîÏïǏǐĬĭĪīĨĩĮį",
"JjĴĵ",
"KkĶķ",
"LlĹĺĿŀĽľĻļŁłḶḷḸḹ",
"MmṂṃ","NnŃńŇňÑñŅņṆṇŊŋ",
"OoÓóÒòÔôÖöǑǒŎŏŌōÕõǪǫŐőØøŒœ",
"Ɔɔ",
"Pp",
"Qq",
"RrŔŕŘřŖŗṚṛṜṝ",
"SsŚśŜŝŠšŞşṢṣß",
"TtŤťŢţṬṭÞþ",
"UuÚúÙùÛûÜüǓǔŬŭŪūŨũŮůŲųŰűǗǘǛǜǙǚǕǖ",
"Vv",
"WwŴŵ",
"Xx",
"YyÝýŶŷŸÿỸỹȲȳ",
"ZzŹźŻżŽž",
"ßÐðÞþŊŋƏə" ],
[ [ "{{Unicode|", "}}" ] ] ],
"MathLogic": [ [ 1, "−×÷⋅°∗∘±∓≤≥≠≡≅≜≝≐≃≈⊕⊗⇐⇔⇒∞←↔→≪≫∝√∤≀◅▻⋉⋊⋈∴∵↦¬∧∨⊻∀∃∈∉∋⊆⊈⊊⊂⊄⊇⊉⊋⊃⊅∪∩∑∏∐′∫∬∭∮∇∂∆∅ℂℍℕℙℚℝℤℵ⌊⌋⌈⌉⊤⊥⊢⊣⊧□∠⟨⟩" ],
false,
[ [ "{{frac|", "|}}" ],
" ",
"−",
[ "<math>", "</math>" ],
[ "{{math|", "}}" ] ] ]
}
};
// </nowiki>