mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-24 02:39:14 +00:00
Merge "Improve layout of Special:MathStatus"
This commit is contained in:
commit
3cfe991957
|
@ -31,7 +31,7 @@ class SpecialMathStatus extends SpecialPage {
|
|||
$out->addWikiMsg( 'math-status-introduction' );
|
||||
$enabledMathModes = MathHooks::getMathNames();
|
||||
foreach ( $enabledMathModes as $modeNr => $modeName ){
|
||||
$out->addWikiText( "* $modeName" );
|
||||
$out->addWikiText( "=== $modeName ===" );
|
||||
switch( $modeNr ){
|
||||
case MW_MATH_MATHML:
|
||||
$this->runMathMLTest( $modeName );
|
||||
|
@ -52,7 +52,7 @@ class SpecialMathStatus extends SpecialPage {
|
|||
|
||||
private function runMathLaTeXMLTest( $modeName ) {
|
||||
$this->getOutput()->addWikiMsgArray( 'math-test-start', $modeName );
|
||||
$this->testMathMLIntegration();
|
||||
$this->testLaTeXMLIntegration();
|
||||
$this->getOutput()->addWikiMsgArray( 'math-test-end', $modeName );
|
||||
}
|
||||
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
"math-status-introduction" : "This page displays information about the enabled math rendering modes.\n\nThe following rendering mode is/rendering 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-end": "Backend tests for rendering mode ''$1'' completed.",
|
||||
"math-test-fail": "Test ''$1'' <span style=\"color:red\">failed</span>.",
|
||||
"math-test-start": "Running backend tests for rendering mode ''$1''.",
|
||||
"math-test-success": "Test ''$1'' <span style=\"color:green\">succeeded</span>.",
|
||||
"math_tip": "Mathematical formula (LaTeX)",
|
||||
"math_unknown_error": "unknown error",
|
||||
"math_unknown_function": "unknown function \"$1\"",
|
||||
|
|
Loading…
Reference in a new issue