Merge "Restore Signupstart and Signupend messages for account creation"
[lhc/web/wiklou.git] / includes / specials / SpecialJavaScriptTest.php
index 5f4c1d2..7069d52 100644 (file)
@@ -62,9 +62,9 @@ class SpecialJavaScriptTest extends SpecialPage {
                        $out->addHtml( $summary );
                } elseif ( isset( self::$frameworks[$framework] ) ) {
                        // Matched! Display proper title and initialize the framework
-                       // Give grep a chance to find the usages: javascripttest-qunit-name
                        $out->setPageTitle( $this->msg(
                                'javascripttest-title',
+                               // Messages: javascripttest-qunit-name
                                $this->msg( "javascripttest-$framework-name" )->plain()
                        ) );
                        $out->setSubtitle( $this->msg( 'javascripttest-backlink' )
@@ -93,12 +93,12 @@ class SpecialJavaScriptTest extends SpecialPage {
        private function getFrameworkListHtml() {
                $list = '<ul>';
                foreach ( self::$frameworks as $framework => $initFn ) {
-                       // Give grep a chance to find the usages: javascripttest-qunit-name
                        $list .= Html::rawElement(
                                'li',
                                array(),
                                Linker::link(
                                        $this->getTitle( $framework ),
+                                       // Message: javascripttest-qunit-name
                                        $this->msg( "javascripttest-$framework-name" )->escaped()
                                )
                        );