Please check our Instructions to Authors and send your manuscripts to nifs.journal@gmail.com. Next issue: March 2025.
MediaWiki:Common.js/Edit tools data.js: Difference between revisions
Jump to navigation
Jump to search
comment |
m - unneeded |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
"b1" : ["#REDIRECT ["+"[", "Page", "]]", "redir", "Redirect page"], | "b1" : ["#REDIRECT ["+"[", "Page", "]]", "redir", "Redirect page"], | ||
"b2" : ["["+"[Category:", "", "]]", "cat", "+ category"], | "b2" : ["["+"[Category:", "", "]]", "cat", "+ category"], | ||
"b3" : [" | "b3" : ["["+"[|", "", "]]", " [[ |...]] ", "+piped link"], | ||
"b4" : [" | "b4" : ["["+"[:", "", "]]", " [[:...]] ", "+text link (for images and categories)"], | ||
"b5" : [" | "b5" : ["{"+"{", "", "}}", "{"+"{}}", "+template brackets"], | ||
"b6" : ["<sub>", "Insert subscript", "</sub>", "a<sub>x</sub>", "Insert subscript"], | "b6" : ["<sub>", "Insert subscript", "</sub>", "a<sub>x</sub>", "Insert subscript"], | ||
"b7" : ["<sup>", "Insert superscript", "</sup>", "a<sup>x</sup>", "Insert supscript"], | "b7" : ["<sup>", "Insert superscript", "</sup>", "a<sup>x</sup>", "Insert supscript"], | ||
"b8" : ["<" | "b8" : ["<div align=\"center\">\\n", "", "\\n</div>", "center", "Center highlighted code"], | ||
"b9" : [" ", "", "", "nbsp", "+non-breaking space"], | "b9" : [" ", "", "", "nbsp", "+non-breaking space"], | ||
"b10 | "b10" : ["—", "", "", "—", "+mdash"], | ||
"b11" : ["<ref>", "", "</ref>", "<ref>", "Insert <ref>"], | |||
"b12" : ["<references />", "", "", "<references>", "Insert <references />"], | |||
"b13" : ["\\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"], | |||
"b14" : ["{"+"{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"], | |||
"b15" : ["{"+"{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 | // The name of the element for extra characters | ||
var charsElemId = "extraChars"; | var charsElemId = "extraChars"; | ||
Line 44: | Line 37: | ||
var chars = [ | var chars = [ | ||
['∫', '∑', '∏', '√', '−', '±', '∞', '≈', '~', '∝', '≡', '≠', '≤', '≥', '≪', '≫', '×', '·', '÷', '∂', '′', '″', '∇', '∮', '⊥', '‰', '∴', 'ℵ', 'ℋ', '℧', '^', '¹', '²', '³', '∈', '∉', '∩', '∪', '⊂', '⊃', '⊆', '⊇', '⊏', '⊐', '⊑', '⊒', '⊢', '∧', '∨', 'ø', '¬', '∃', '∀', '⇒', '⇐','⇓', '⇑', '⇔', '→', '←', '↓', '↑', '↖', '↗', '↘', '↙', '↔', '⇄', '⇆', '⇋', '⇌', 'ℕ', 'ℤ', 'ℚ', 'ℝ', 'ℂ', '∅', '⋮', '⋯', '□', '⊞', '◇', '◈', '⊡'], | |||
['∫', '∑', '∏', '√', '−', '±', '∞', '≈', '~', '∝', '≡', '≠', '≤', '≥', '≪', '≫', '×', '·', '÷', '∂', '′', '″', '∇', '∮', '⊥', '‰', '∴', 'ℵ', 'ℋ', '℧', '^', '¹', '²', '³', '∈', '∉', '∩', '∪', '⊂', '⊃', '⊆', '⊇', '⊏', '⊐', '⊑', '⊒', '⊢', '∧', '∨', 'ø', '¬', '∃', '∀', '⇒', '⇐','⇓', '⇑', '⇔', '→', '←', '↓', '↑', '↖', '↗', | |||
['α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'ς', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω', 'Γ', 'Δ', 'Θ', 'Λ', 'Ξ', 'Π', 'Σ', 'Φ', 'Ψ', 'Ω'], | ['α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'ς', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω', 'Γ', 'Δ', 'Θ', 'Λ', 'Ξ', 'Π', 'Σ', 'Φ', 'Ψ', 'Ω'], | ||
]; | ]; | ||
var showMenus = false; | var showMenus = false; | ||
var showButtons = true; | var showButtons = true; |
Latest revision as of 14:17, 22 October 2008
/* * * 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" : ["["+"[|", "", "]]", " [[ |...]] ", "+piped link"],
"b4" : ["["+"[:", "", "]]", " [[:...]] ", "+text link (for images and categories)"],
"b5" : ["{"+"{", "", "}}", "{"+"{}}", "+template brackets"],
"b6" : ["<sub>", "Insert subscript", "</sub>", "a<sub>x</sub>", "Insert subscript"],
"b7" : ["<sup>", "Insert superscript", "</sup>", "a<sup>x</sup>", "Insert supscript"],
"b8" : ["<div align=\"center\">\\n", "", "\\n</div>", "center", "Center highlighted code"],
"b9" : [" ", "", "", "nbsp", "+non-breaking space"],
"b10" : ["—", "", "", "—", "+mdash"],
"b11" : ["<ref>", "", "</ref>", "<ref>", "Insert <ref>"],
"b12" : ["<references />", "", "", "<references>", "Insert <references />"],
"b13" : ["\\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"],
"b14" : ["{"+"{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"],
"b15" : ["{"+"{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 = [
['∫', '∑', '∏', '√', '−', '±', '∞', '≈', '~', '∝', '≡', '≠', '≤', '≥', '≪', '≫', '×', '·', '÷', '∂', '′', '″', '∇', '∮', '⊥', '‰', '∴', 'ℵ', 'ℋ', '℧', '^', '¹', '²', '³', '∈', '∉', '∩', '∪', '⊂', '⊃', '⊆', '⊇', '⊏', '⊐', '⊑', '⊒', '⊢', '∧', '∨', 'ø', '¬', '∃', '∀', '⇒', '⇐','⇓', '⇑', '⇔', '→', '←', '↓', '↑', '↖', '↗', '↘', '↙', '↔', '⇄', '⇆', '⇋', '⇌', 'ℕ', 'ℤ', 'ℚ', 'ℝ', 'ℂ', '∅', '⋮', '⋯', '□', '⊞', '◇', '◈', '⊡'],
['α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'ς', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω', 'Γ', 'Δ', 'Θ', 'Λ', 'Ξ', 'Π', 'Σ', 'Φ', 'Ψ', 'Ω'],
];
var showMenus = false;
var showButtons = true;