MediaWiki master
rest.php
Go to the documentation of this file.
1<?php
2
27
28define( 'MW_REST_API', true );
29define( 'MW_ENTRY_POINT', 'rest' );
30
31require __DIR__ . '/includes/WebStart.php';
32
33( new EntryPoint(
34 EntryPoint::getMainRequest(),
35 RequestContext::getMain(),
37 MediaWikiServices::getInstance()
38) )->run();
run()
Run the job.
Utility class wrapping PHP runtime state.
Service locator for MediaWiki core services.