X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialJavaScriptTest.php;h=b786c869fb6d85f90b48dbaf23a92fb4326ccbd8;hb=4660ce079ca78a66e4ec7386481868a52ecebda5;hp=52064b79f5062088e1d2fa75fe32bb8c1c892d9d;hpb=d234652df3a53af7f963f6c04a700eaae3517340;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialJavaScriptTest.php b/includes/specials/SpecialJavaScriptTest.php index 52064b79f5..b786c869fb 100644 --- a/includes/specials/SpecialJavaScriptTest.php +++ b/includes/specials/SpecialJavaScriptTest.php @@ -143,7 +143,11 @@ class SpecialJavaScriptTest extends SpecialPage { .always( function () { start(); } ) - .fail( function ( e ) { throw e; } ); + .fail( function ( e ) { + setTimeout( function () { + throw e; + } ); + } ); } catch ( e ) { start(); throw e; @@ -195,15 +199,6 @@ HTML; echo $html; } - /** - * Return an array of subpages that this special page will accept. - * - * @return string[] subpages - */ - public function getSubpagesForPrefixSearch() { - return self::$frameworks; - } - protected function getGroupName() { return 'other'; }