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
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* * * 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;