Use message for help page name instead of enwiki-internal shortcut

Change "wp:MATH" to instead use another message, and define a help
page name for math formulae in that other message.

Change-Id: I3fa1e9f4442887915709a2fec671f1ebdb1fc300
This commit is contained in:
Jon Harald Søby 2024-01-16 11:04:10 +01:00
parent fd0603f628
commit b6cb7ff1ec
2 changed files with 4 additions and 2 deletions

View file

@ -71,11 +71,12 @@
"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 [[wp:MATH]] for more help.",
"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{H20}</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\":",

View file

@ -71,11 +71,12 @@
"math-visualeditor-symbol-group-math-typefaces": "Label for the typefaces group of math symbols",
"math-visualeditor-symbol-group-math-unsorted": "Label for the unsorted group of math symbols",
"math-form-tex-label": "Label for text field in a form, where a user should specify tex input.",
"math-form-tex-help": "Help text for text field in a form, where a user should specify TeX input.\n\n\"WP:MATH\" is a link to a help page about math formulas. This name is taken from the English Wikipedia. This page doesn't necessarily exist in the wiki, and doesn't necessarily have this title.",
"math-form-tex-help": "Help text for text field in a form, where a user should specify TeX input.",
"math-form-type-label": "Label for radio button group in a form, where a user should select the input type.",
"math-form-type-tex": "Label for normal tex input type.",
"math-form-type-chem": "Label for chemical input type.",
"math-form-display-label": "Label for radio button in a form, where a user should select the display mode.",
"math-helppage": "The title of a help page for math formulas. Just translate \"Displaying a formula\", and '''leave the \"Help:\" namespace exactly as it is'''.",
"math_failure": "Used as error message.\n\nThis message is followed by \"(\", Error message(*1), Additional message, \"): \" and Source code.\n\n(*1) The error message is any one of the following messages:\n* {{msg-mw|Math unknown error}}\n* {{msg-mw|Math unknown function}}\n* {{msg-mw|Math lexing error}}\n* {{msg-mw|Math syntax error}}\n* {{msg-mw|Math image error}}\n* {{msg-mw|Math bad tmpdir}}\n* {{msg-mw|Math bad output}}\n* {{msg-mw|Math notexvc}}\n* {{msg-mw|Math notexvccheck}}\n* {{msg-mw|Math output error}}\n* {{msg-mw|Math timeout}}\n* {{msg-mw|Math invalidresponse}}\n* {{msg-mw|Math invalidxml}}\n* {{msg-mw|Math invalidjson}}",
"math_invalidjson": "Used as error message.\n\nParameters:\n* $1 - rendering type (either LaTeXML or Mathoid)\n\nThis message follows the message {{msg-mw|Math failure}}.",
"math_invalidresponse": "Used as error message.\n\nFollows the message {{msg-mw|Math failure}}.\n\nParameters:\n* $1 - rendering type (either LaTeXML or Mathoid)\n* $2 - hostname\n* $3 - error message",