Merge "Improve layout of Special:MathStatus"

This commit is contained in:
jenkins-bot 2015-04-09 16:25:50 +00:00 committed by Gerrit Code Review
commit 3cfe991957
2 changed files with 6 additions and 6 deletions

View File

@ -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 );
}

View File

@ -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\"",