mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-21 03:42:46 +00:00
277663b822
When collecting user feedback regarding the native rendering option on the German Wikipedia (T346795) it became apparent that some power users aim for bigger and bolder fonts and a more LaTeX-like layout. MathML, however, aims to format math as an integral part of the text with uniform fonts and spacing. To match both user needs, this patch adds a new rendering option that uses client-side MathJax (without a need for restbase or mathoid). * Adjust MathJax`s loader to be compatible with the mw loader * Add new rendering mode * Copy MathJax source to resource module as foreign repo Bug: T354136 Change-Id: I1ecf9c77fefc3b0f717107d81979276023f6cb84
131 lines
7.7 KiB
JSON
131 lines
7.7 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Brion Vibber",
|
|
"Chad Horohoe",
|
|
"Ed Sanders",
|
|
"Frédéric Wang",
|
|
"Gabriel Wicke",
|
|
"Jack Phoenix",
|
|
"James D. Forrester",
|
|
"Matthew Flaschen",
|
|
"Moritz Schubotz",
|
|
"Raimond Spekking",
|
|
"Roan Kattouw",
|
|
"Sam Reed",
|
|
"Siebrand Mazeland",
|
|
"Yuki Shira"
|
|
]
|
|
},
|
|
"math-desc": "Render mathematical formulas between <code><math></code> ... <code></math></code> tags",
|
|
"popups-settings-option-math": "Math",
|
|
"popups-settings-option-math-description": "Explain mathematical formulae.",
|
|
"popups-settings-option-math-tooltip": "Explain mathematical formulae on hover.",
|
|
"math-visualeditor-mwchemdialog-title": "Chemical formula",
|
|
"math-visualeditor-mwlatexcontextitem-quickedit": "Quick edit",
|
|
"math-visualeditor-mwlatexdialog-card-formula": "Formula",
|
|
"math-visualeditor-mwlatexdialog-card-options": "Options",
|
|
"math-visualeditor-mwlatexinspector-display": "Display",
|
|
"math-visualeditor-mwlatexinspector-display-block": "Block",
|
|
"math-visualeditor-mwlatexinspector-display-default": "Default",
|
|
"math-visualeditor-mwlatexinspector-display-inline": "Inline",
|
|
"math-visualeditor-mwlatexinspector-id": "Link ID (optional)",
|
|
"math-visualeditor-mwlatexinspector-qid": "Wikibase ID (with Q prefix)",
|
|
"math-visualeditor-mwmathdialog-title": "Math formula",
|
|
"math-visualeditor-symbol-group-chem-addition": "Addition compounds",
|
|
"math-visualeditor-symbol-group-chem-aggregation": "States of aggregation",
|
|
"math-visualeditor-symbol-group-chem-arrows": "Reaction arrows",
|
|
"math-visualeditor-symbol-group-chem-brackets": "Parenthesis, brackets & braces",
|
|
"math-visualeditor-symbol-group-chem-charges": "Charges",
|
|
"math-visualeditor-symbol-group-chem-dots": "Unpaired electrons & radical dots",
|
|
"math-visualeditor-symbol-group-chem-equations": "Chemical equations",
|
|
"math-visualeditor-symbol-group-chem-formulae": "Chemical formulae",
|
|
"math-visualeditor-symbol-group-chem-greek": "Greek characters",
|
|
"math-visualeditor-symbol-group-chem-isotopes": "Isotopes",
|
|
"math-visualeditor-symbol-group-chem-operators": "Equation operators",
|
|
"math-visualeditor-symbol-group-chem-oxidation": "Oxidation states",
|
|
"math-visualeditor-symbol-group-chem-precipitate": "Precipitate and gas",
|
|
"math-visualeditor-symbol-group-chem-stoichiometric": "Stoichiometric numbers",
|
|
"math-visualeditor-symbol-group-math-accents": "Accents and diacritics",
|
|
"math-visualeditor-symbol-group-math-arrows": "Arrows",
|
|
"math-visualeditor-symbol-group-math-bounds": "Bounds",
|
|
"math-visualeditor-symbol-group-math-derivatives": "Differentials and derivatives",
|
|
"math-visualeditor-symbol-group-math-functions": "Standard numerical functions",
|
|
"math-visualeditor-symbol-group-math-geometry": "Geometric",
|
|
"math-visualeditor-symbol-group-math-greek": "Greek alphabet",
|
|
"math-visualeditor-symbol-group-math-hebrew": "Hebrew alphabet",
|
|
"math-visualeditor-symbol-group-math-large": "Large layouts",
|
|
"math-visualeditor-symbol-group-math-logic": "Logic",
|
|
"math-visualeditor-symbol-group-math-matrices": "Matrices",
|
|
"math-visualeditor-symbol-group-math-modular": "Modular arithmetic",
|
|
"math-visualeditor-symbol-group-math-operators": "Operators",
|
|
"math-visualeditor-symbol-group-math-parentheses": "Parentheses",
|
|
"math-visualeditor-symbol-group-math-projections": "Projections",
|
|
"math-visualeditor-symbol-group-math-relations": "Relations",
|
|
"math-visualeditor-symbol-group-math-root": "Radicals",
|
|
"math-visualeditor-symbol-group-math-sets": "Sets",
|
|
"math-visualeditor-symbol-group-math-spacing": "Spacing",
|
|
"math-visualeditor-symbol-group-math-special": "Special",
|
|
"math-visualeditor-symbol-group-math-subscripts": "Subscripts, superscripts and integrals",
|
|
"math-visualeditor-symbol-group-math-symbols": "Symbols and constants",
|
|
"math-visualeditor-symbol-group-math-typefaces": "Typefaces",
|
|
"math-visualeditor-symbol-group-math-unsorted": "Unsorted",
|
|
"math-form-tex-label": "Custom TeX input",
|
|
"math-form-tex-help": "Test with your own TeX input. See [[{{int:math-helppage}}|the help page for math formulae]] for more help.",
|
|
"math-form-type-label": "Type of the input",
|
|
"math-form-type-tex": "tex (normal input)",
|
|
"math-form-type-chem": "chem (input with chemistry support; e.g. <code dir=\"ltr\">\\ce{H2O}</code> for water)",
|
|
"math-form-display-label": "Math display mode",
|
|
"math-helppage": "Help:Displaying a formula",
|
|
"math_failure": "Failed to parse",
|
|
"math_invalidjson": "$1 server response is invalid JSON.",
|
|
"math_invalidresponse": "$1: Invalid response (\"$3\") from server \"$2\":",
|
|
"math_invalidxml": "MathML or SVG is invalid XML.",
|
|
"math_mathoid_error": "Conversion error. Server (\"$1\") reported: \"$2\"",
|
|
"math-status-introduction": "This page displays information about the enabled math rendering {{PLURAL:$1|mode|modes}}.\n\nThe following rendering {{PLURAL:$1|mode is|modes are}} enabled:",
|
|
"math_syntax_error": "syntax error",
|
|
"math_timeout": "$1 timeout from \"$2\".",
|
|
"math-test-end": "Backend tests for rendering mode ''$1'' completed.",
|
|
"math-test-fail": "Test ''$1'' failed.",
|
|
"math-test-start": "Running backend tests for rendering mode ''$1''.",
|
|
"math-test-success": "Test ''$1'' succeeded.",
|
|
"math-test-contains-diff": "Returned string $1 does not contain expected string $2.",
|
|
"math-test-equals-diff": "Returned string $1 is different from expected string $2.",
|
|
"math-tracking-category-error": "Pages with math errors",
|
|
"math-tracking-category-error-desc": "Pages in this category have errors in the usage of math tags.",
|
|
"math-tracking-category-mhchem-deprecation": "Pages that use a deprecated format of the chem tags",
|
|
"math-tracking-category-mhchem-deprecation-desc": "Pages in this category use a deprecated format of the chem tags",
|
|
"math-tracking-category-texvc-deprecation": "Pages that use a deprecated format of the math tags",
|
|
"math-tracking-category-texvc-deprecation-desc": "Pages in this category use a deprecated format of the math tags",
|
|
"math-tracking-category-render-error": "Pages with math render errors",
|
|
"math-tracking-category-render-error-desc": "Pages in this category have rendering errors in the math tags.",
|
|
"math_unknown_error": "unknown error",
|
|
"math_unknown_function": "unknown function \"$1\"",
|
|
"mw-math-latexml": "LaTeXML (experimental; uses MathML)",
|
|
"mw-math-mathjax": "Client side MathJax rendering (for browsers with limited MathML support)",
|
|
"mw-math-mathml": "SVG (MathML can be enabled via browser plugin)",
|
|
"mw-math-native": "MathML (experimental; no images)",
|
|
"mw-math-source": "LaTeX source (for text browsers)",
|
|
"prefs-math": "Math",
|
|
"mathstatus": "Math status",
|
|
"mathwikibase": "Math Formula Information",
|
|
"datatypes-type-math": "Mathematical expression",
|
|
"wikibase-listdatatypes-math-head": "Mathematical expression",
|
|
"wikibase-listdatatypes-math-body": "Literal data field for mathematical expressions, formula, equations and such, expressed in a variant of LaTeX.",
|
|
"math-wikibase-header": "Information of Mathematical Items",
|
|
"math-wikibase-formula": "Formula",
|
|
"math-wikibase-formula-name": "Name",
|
|
"math-wikibase-formula-type": "Type",
|
|
"math-wikibase-formula-header-format": "'''$1:''' $2",
|
|
"math-wikibase-formula-description": "Description",
|
|
"math-wikibase-formula-information": "Math Formula Information",
|
|
"math-wikibase-formula-link-header": "Data Source",
|
|
"math-wikibase-formula-elements-header": "Elements of the Formula",
|
|
"math-wikibase-special-form-header": "Specify the name of the formula:",
|
|
"math-wikibase-special-form-placeholder": "Title of the formula",
|
|
"math-wikibase-special-form-button": "Request Information",
|
|
"math-wikibase-special-error-header": "Error",
|
|
"math-wikibase-special-error-invalid-argument": "Your specified Wikibase item ID does not exist.",
|
|
"math-wikibase-special-error-unknown": "An unknown error occurred while fetching data from Wikibase."
|
|
}
|