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" : ["#REDIRECT ["+"[", "Page", "]]", "redir", "Redirect page"], "b2" : ["["+"Category:", "", "]]", "cat", "+ category"], "b3" : ["\\n", "", "\\n ", "center", "Center highlighted code"], "b4" : [" ", "code", "Preformated text"], "b5" : [" ", "Insert deleted or strikethrough text", " ", " del ", "Strikethrough text"], "b6" : ["", "Insert subscript", "", "ax", "Insert subscript"], "b7" : ["", "Insert superscript", "", "ax", "Insert supscript"], "b8" : ["<"+"!-- ", "Insert commented text", " -->", "&lt;!--", "+comment"], "b9" : [" ", "", "", "nbsp", "+non-breaking space"], "b10" : ["{"+"{", "", "}}", "{"+"{}}", "+template brackets"], "b11" : ["|", "", "", " | ", "+pipe"], "b12" : ["#", "", "", " # ", "+anchor"], "b13" : ["["+"[|", "", "]]", " |... ", "+piped link"], "b14" : ["["+"[:", "", "]]", " ... ", "+text link (for images and categories)"], "b15" : ["—", "", "", "—", "+mdash"], "b16" : [" ", "&lt;ref&gt;", "Insert &lt;ref&gt;"], "b17" : [" ", "", "", "&lt;references&gt;", "Insert &lt;references /&gt;"], "b18" : ["\\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"], "b19" : [" ", "gallery", "Insert image gallery"], "b20" : ["{"+"{index-matrix/start\\n |matrix-id =", "", "\\n |columns = N\\n |1 = \\n |2 = \\n ...\\n |N-1 = \\n |N = \\n}}\\n{"+"{index-matrix/row-predic\\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"], "b21" : ["{"+"{index-matrix/start\\n |matrix-id =", "", "\\n |columns = N\\n |1 = \\n |2 = \\n ...\\n |N-1 = \\n |N = \\n}}\\n{"+"{index-matrix/row-arccap\\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 = [

['∫', '∑', '∏', '√', '−', '±', '∞', '≈', '~', '∝', '≡', '≠', '≤', '≥', '≪', '≫', '×', '·', '÷', '∂', '′', '″', '∇', '∮', '⊥', '‰', '∴', 'ℵ', 'ℋ', '℧', '^', '¹', '²', '³', '∈', '∉', '∩', '∪', '⊂', '⊃', '⊆', '⊇', '⊏', '⊐', '⊑', '⊒', '⊢', '∧', '∨', 'ø', '¬', '∃', '∀', '⇒', '⇐','⇓', '⇑', '⇔', '→', '←', '↓', '↑', '↖', '↗',	 '↘', '↙', '↔', '⇄', '⇆', '⇋', '⇌', 'ℕ', 'ℤ', 'ℚ', 'ℝ', 'ℂ', '∅', '⋮', '⋯', '□', '⊞', '◇', '◈', '⊡'],

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

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

['А', 'Б', 'В', 'Г', 'Д', 'Е', 'Ж', 'З', 'И', 'Й', 'К', 'Л', 'М', 'Н', 'О', 'П', 'Р', 'С', 'Т', 'У', 'Ф', 'Х', 'Ц', 'Ч', 'Ш', 'Щ', 'Ъ', 'Ь', 'Ю', 'Я', 'Ы', 'Э', 'а', 'б', 'в', 'г', 'д', 'е', 'ж', 'з', 'и', 'й', 'к', 'л', 'м', 'н', 'о', 'п', 'р', 'с', 'т', 'у', 'ф', 'х', 'ц', 'ч', 'ш', 'щ', 'ъ', 'ь', 'ю', 'я', 'ы', 'э'],

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