2010-09-04 04:00:09 +00:00
|
|
|
<?php
|
|
|
|
|
/**
|
2024-02-22 18:28:27 +00:00
|
|
|
* @see MediaWiki\ResourceLoader\ResourceLoaderEntryPoint
|
2010-09-04 06:46:50 +00:00
|
|
|
*
|
2010-09-04 04:00:09 +00:00
|
|
|
* 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
|
|
|
|
|
*
|
2010-09-04 06:46:50 +00:00
|
|
|
* @file
|
2010-09-04 04:00:09 +00:00
|
|
|
* @author Roan Kattouw
|
|
|
|
|
* @author Trevor Parscal
|
|
|
|
|
*/
|
2010-09-04 12:53:01 +00:00
|
|
|
|
2024-02-08 14:56:54 +00:00
|
|
|
use MediaWiki\Context\RequestContext;
|
2023-11-23 21:55:36 +00:00
|
|
|
use MediaWiki\EntryPointEnvironment;
|
2016-09-28 20:37:20 +00:00
|
|
|
use MediaWiki\MediaWikiServices;
|
2024-02-22 18:28:27 +00:00
|
|
|
use MediaWiki\ResourceLoader\ResourceLoaderEntryPoint;
|
2015-06-04 03:52:45 +00:00
|
|
|
|
2016-02-25 21:54:06 +00:00
|
|
|
// This endpoint is supposed to be independent of request cookies and other
|
2016-02-25 21:54:06 +00:00
|
|
|
// details of the session. Enforce this constraint with respect to session use.
|
|
|
|
|
define( 'MW_NO_SESSION', 1 );
|
2016-02-25 21:54:06 +00:00
|
|
|
|
2019-09-02 23:55:00 +00:00
|
|
|
define( 'MW_ENTRY_POINT', 'load' );
|
|
|
|
|
|
2013-05-17 00:16:59 +00:00
|
|
|
require __DIR__ . '/includes/WebStart.php';
|
2011-05-30 13:49:09 +00:00
|
|
|
|
2024-02-22 18:28:27 +00:00
|
|
|
( new ResourceLoaderEntryPoint(
|
2023-11-23 21:55:36 +00:00
|
|
|
RequestContext::getMain(),
|
|
|
|
|
new EntryPointEnvironment(),
|
|
|
|
|
MediaWikiServices::getInstance()
|
|
|
|
|
) )->run();
|