From d2045ac9a45db345f28fad6124c062574b6f7f8a Mon Sep 17 00:00:00 2001 From: physikerwelt Date: Mon, 30 Mar 2015 12:51:49 -0400 Subject: [PATCH] Improve layout of Special:MathStatus Bug: T94434 Change-Id: Ib723c80642d432b7eac66fc18a316aaae026e884 --- SpecialMathStatus.php | 4 ++-- i18n/en.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SpecialMathStatus.php b/SpecialMathStatus.php index 8c8f49a..9477da2 100644 --- a/SpecialMathStatus.php +++ b/SpecialMathStatus.php @@ -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 ); } diff --git a/i18n/en.json b/i18n/en.json index 4a6e580..be214a1 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -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'' failed.", + "math-test-start": "Running backend tests for rendering mode ''$1''.", + "math-test-success": "Test ''$1'' succeeded.", "math_tip": "Mathematical formula (LaTeX)", "math_unknown_error": "unknown error", "math_unknown_function": "unknown function \"$1\"",