MediaWiki  master
load.php File Reference

This file is the entry point for ResourceLoader. More...

Go to the source code of this file.

Variables

 $context = new ResourceLoaderContext( $resourceLoader, $wgRequest )
 
 $mediawiki = new MediaWiki()
 
 $resourceLoader = MediaWikiServices::getInstance()->getResourceLoader()
 
const MW_ENTRY_POINT 'load'
 
const MW_NO_SESSION 1
 

Detailed Description

This file is the entry point for ResourceLoader.

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

Author
Roan Kattouw
Trevor Parscal

Definition in file load.php.

Variable Documentation

◆ $context

$context = new ResourceLoaderContext( $resourceLoader, $wgRequest )

Definition at line 45 of file load.php.

Referenced by UserBlockedError\__construct(), SpecialRecentChanges\__construct(), LogPage\addEntry(), Parser\braceSubstitution(), SpecialBookSources\buildForm(), ProtectionForm\buildForm(), DummyLinker\buildRollbackLink(), Linker\buildRollbackLink(), ChangeTags\buildTagFilterSelector(), MWDebug\debugMsg(), Article\delete(), Article\doDelete(), HttpError\doLog(), SpecialNewFiles\execute(), SpecialAutoblockList\execute(), SpecialBlockList\execute(), RebuildFileCache\execute(), PhpHttpRequest\execute(), SpecialEmailUser\execute(), DiffFormatter\format(), FeedUtils\formatDiffRow(), GIFHandler\formatMetadata(), PNGHandler\formatMetadata(), ExifBitmapHandler\formatMetadata(), File\formatMetadata(), MediaHandler\formatMetadataHelper(), ChangeTags\formatSummaryRow(), MWCryptHKDF\generate(), MWCryptHKDF\generateHex(), DummyLinker\generateRollback(), Linker\generateRollback(), AuthManagerSpecialPage\getAuthForm(), LoginSignupSpecialPage\getAuthForm(), SpecialEditWatchlist\getClearForm(), ResourceLoaderForeignApiModule\getDependencies(), FormSpecialPage\getForm(), SpecialEditWatchlist\getNormalForm(), SpecialEditWatchlist\getRawForm(), ManualLogEntry\getRecentChange(), ParserOutput\getText(), SpecialUpload\getUploadForm(), RESTBagOStuff\handleError(), RequestContext\importScopedSession(), WikitextContent\isCountable(), MWExceptionHandler\logException(), ChangesListSpecialPage\makeLegend(), ResourceLoader\makeModuleResponse(), ContentHandler\makeParserOptions(), WikiPage\makeParserOptions(), Article\makeParserOptions(), SpecialPrefixindex\namespacePrefixForm(), ParserOptions\newCanonical(), RequestContext\newExtraneousContext(), Article\newFromWikiPage(), ResourceLoader\outputErrorAndLog(), SpecialAllPages\outputHTMLForm(), SpecialTags\processCreateTagForm(), SpecialTags\processTagForm(), SpecialWatchlist\registerFilters(), UserNotLoggedIn\report(), Wikimedia\Rdbms\LoadBalancer\reportConnectionError(), User\resetOptions(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), SpecialPage\setContext(), Article\setContext(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), wfDebug(), wfDebugLog(), wfLogDBError(), wfLogProfilingData(), and wfThumbError().

◆ $mediawiki

$mediawiki = new MediaWiki()

Definition at line 52 of file load.php.

◆ $resourceLoader

◆ MW_ENTRY_POINT

const MW_ENTRY_POINT 'load'

Definition at line 31 of file load.php.

◆ MW_NO_SESSION