Index: branches/JSTesting/includes/specials/SpecialJavaScriptTest.php |
— | — | @@ -47,6 +47,7 @@ |
48 | 48 | // Matched! Display proper title and initialize the framework |
49 | 49 | } elseif ( isset( self::$frameworks[$framework] ) ) { |
50 | 50 | $out->setPagetitle( wfMsg( 'javascripttest-title', wfMsg( "javascripttest-$framework-name" ) ) ); |
| 51 | + $out->setSubtitle( wfMsg( 'javascripttest-backlink', Linker::linkKnown( $this->getTitle() ) ) ); |
51 | 52 | $this->{self::$frameworks[$framework]}(); |
52 | 53 | |
53 | 54 | // Framework not found, display error |
Index: branches/JSTesting/languages/messages/MessagesQqq.php |
— | — | @@ -2972,6 +2972,7 @@ |
2973 | 2973 | |
2974 | 2974 | # JavaScriptTest |
2975 | 2975 | 'javascripttest' => 'Title of the special page', |
| 2976 | +'javascripttest-backlink' => '{{optional}}', |
2976 | 2977 | 'javascripttest-disabled' => '{{Identical|Function disabled}}.', |
2977 | 2978 | 'javascripttest-title' => 'Title of the special page when running a test suite. $1 is the name of the framework.', |
2978 | 2979 | 'javascripttest-pagetext-unknownframework' => 'Error message when given framework id is not found. $1 is the if of the framework.', |
Index: branches/JSTesting/languages/messages/MessagesEn.php |
— | — | @@ -3372,6 +3372,7 @@ |
3373 | 3373 | |
3374 | 3374 | # JavaScriptTest |
3375 | 3375 | 'javascripttest' => 'JavaScript Test', |
| 3376 | +'javascripttest-backlink' => '← $1', |
3376 | 3377 | 'javascripttest-disabled' => 'This function is disabled.', |
3377 | 3378 | 'javascripttest-title' => 'Running $1 tests', |
3378 | 3379 | 'javascripttest-pagetext-noframework' => 'This page is reserved for running javascript tests.', |