MediaWiki:Common.js/Edit tools data.js

/* * *  Extra buttons for text insertion   * * */ // Copied from BG Wikipedia and modified // These data will generate extra edit buttons by means of function insertTags var customInsButtons = { // "CODE" : ["LEFT", "MIDDLE", "RIGHT", "SHOWN TEXT", "TITLE"], "b1" : ["== ", "", " ==", "header-1", "Section header on level 1"], "b2" : ["=== ", "", " ===", "header-2", "Section header on level 2"], "b3" : ["["+"Category:", "", "]]", "cat", "+ category"], "b4" : ["#REDIRECT ["+"[", "Page", "]]", "redir", "Redirect page"], "b5" : ["\\n", "", "\\n ", "center", "Center highlighted code"], "b6" : [" ", "code", "Preformated text"], "b7" : [" ", "Insert deleted or strikethrough text", " ", " del ", "Strikethrough text"], "b8" : ["", "Insert subscript", "", "ax", "Insert subscript"], "b9" : ["", "Insert superscript", "", "ax", "Insert supscript"], "b10" : ["<"+"!-- ", "Insert commented text", " -->", "&lt;!--", "+comment"], "b11" : [" ", "", "", "nbsp", "+non-breaking space"], "b12" : ["{"+"{", "", "}}", "{"+"{}}", "+template brackets"], "b13" : ["|", "", "", " | ", "+pipe"], "b14" : ["#", "", "", " # ", "+anchor"], "b15" : ["["+"[|", "", "]]", " |... ", "+piped link"], "b16" : ["["+"[:", "", "]]", " ... ", "+text link (for images and categories)"], "b17" : ["—", "", "", "—", "+mdash"], "b18" : [" ", "&lt;ref&gt;", "Insert &lt;ref&gt;"], "b19" : [" ", "", "", "&lt;references&gt;", "Insert &lt;references /&gt;"], "b20" : ["\\n{| class=\"wikitable\"\\n|+ ", "Table header", "\\n! column 1\\n! column 2\\n! column 3\\n|-\\n| row 1, cell 1\\n| row 1, cell 2\\n| row 1, cell 3\\n|-\\n| row 2, cell 1\\n| row 2, cell 2\\n| row 2, cell 3\\n|}", "table", "Insert table"], "b21" : [" ", "gallery", "Insert image gallery"], "b22" : ["{"+"{index-matrix/start\\n |matrix-id =", "", "\\n |columns = N\\n |1 = \\n |2 = \\n ...\\n |N-1 = \\n |N = \\n}}\\n{"+"{index-matrix/predicate\\n |columns= N\\n |row-id = \\n |1 = \\n |2 = \\n ...\\n |N-1 = \\n |N = \\n}}\\n{"+"{index-matrix/end}}\\n", "IM-predic", "Insert index matrix of predicates"], "b23" : ["{"+"{index-matrix/start\\n |matrix-id =", "", "\\n |columns = N\\n |1 = \\n |2 = \\n ...\\n |N-1 = \\n |N = \\n}}\\n{"+"{index-matrix/arccapacity\\n |columns= N\\n |row-id = \\n |1 = \\n |2 = \\n ...\\n |N-1 = \\n |N = \\n}}\\n{"+"{index-matrix/end}}\\n", "IM-arccap", "Insert index matrix of arc capacities"] }; /* * *  Extra buttons for miscellaneous functions   * * */ // The name of the element for extra characters var charsElemId = "extraChars"; // Data needed for other custom edit buttons var customMiscButtons = { // "CODE" : ["CODE TO RUN", "SHOWN TEXT", "TITLE"], // extra characters in the virtual keyboard "ch" : ["addChars; toggleElemDisplay('"+charsElemId+"');", "…More…", "Virtual keyboard"] }; var tplVarBaseName = "tpl"; var atplVarBaseName = "atpl"; var chars = [ ['А', 'Б', 'В', 'Г', 'Д', 'Е', 'Ж', 'З', 'И', 'Й', 'К', 'Л', 'М', 'Н', 'О', 'П', 'Р', 'С', 'Т', 'У', 'Ф', 'Х', 'Ц', 'Ч', 'Ш', 'Щ', 'Ъ', 'Ь', 'Ю', 'Я', 'Ы', 'Э', 'а', 'б', 'в', 'г', 'д', 'е', 'ж', 'з', 'и', 'й', 'к', 'л', 'м', 'н', 'о', 'п', 'р', 'с', 'т', 'у', 'ф', 'х', 'ц', 'ч', 'ш', 'щ', 'ъ', 'ь', 'ю', 'я', 'ы', 'э'],

['α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'ς', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω', 'Γ', 'Δ', 'Θ', 'Λ', 'Ξ', 'Π', 'Σ', 'Φ', 'Ψ', 'Ω'],

['½', '¼', '¾', '∫', '∑', '∏', '√', '−', '±', '∞', '≈', '~', '∝', '≡', '≠', '≤', '≥', '×', '·', '÷', '∂', '′', '″', '∇', '∮', '⊥', '‰', '∴', 'ℵ', 'ℋ', '℧', '^', '¹', '²', '³', '∈', '∉', '∩', '∪', '⊂', '⊃', '⊆', '⊇', '&#8848;', '&#8849;', '&#8850;', '&#8866;', '∧', '∨', 'ø', '¬', '∃', '∀', '⇒', '⇐','⇓', '⇑', '⇔', '→', '←', '↓', '↑', '↔', '⇄', '⇆', '⇋', '⇌', 'ℕ', 'ℤ', 'ℚ', 'ℝ', 'ℂ', '∅', '⋮', '⋯', '&#9633;', '&#8862;', '&#9671;', '&#9672;', '&#8865;'],

['*', '~', '|', '[', ']', '°', '№', '™', '©', '®', '¢', '€', '¥', '£', '¤', '¿', '¡', '«', '»', '§', '¶', '†', '‡', '•', '♀', '♂', '…', '¨'],

['Á', 'á', 'É', 'é', 'Í', 'í', 'Ó', 'ó', 'Ú', 'ú', 'À', 'à', 'È', 'è', 'Ì', 'ì', 'Ò', 'ò', 'Ù', 'ù', 'Â', 'â', 'Ê', 'ê', 'Î', 'î',	'Ô', 'ô', 'Û', 'û', 'Ä', 'ä', 'Ë', 'ë', 'Ï', 'ï', 'Ö', 'ö', 'Ü', 'ü', 'ß', 'Ã', 'ã', 'Ñ', 'ñ', 'Õ', 'õ', 'Ç', 'ç', 'Ģ', 'ģ', 'Ķ', 'ķ', 'Ļ', 'ļ', 'Ņ', 'ņ', 'Ŗ', 'ŗ', 'Ş', 'ş', 'Ţ', 'ţ', 'Ć', 'ć', 'Ĺ', 'ĺ', 'Ń', 'ń', 'Ŕ', 'ŕ', 'Ś', 'ś', 'Ý', 'ý', 'Ź', 'ź', 'Đ', 'đ', 'Ů', 'ů', 'Č', 'č', 'Ď', 'ď', 'Ľ', 'ľ', 'Ň', 'ň', 'Ř', 'ř', 'Š', 'š', 'Ť', 'ť', 'Ž', 'ž', 'Ǎ', 'ǎ', 'Ě', 'ě', 'Ǐ', 'ǐ', 'Ǒ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