MediaWiki REL1_34
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 HTMLForm\__construct(), SpecialRecentChanges\__construct(), CryptHKDF\__construct(), OutputPage\__construct(), MediaWiki\__construct(), Action\__construct(), MediaWiki\Shell\Command\__destruct(), LogPage\addEntry(), MWDebug\appendDebugInfoToApiResult(), Parser\braceSubstitution(), ResourceLoaderModule\buildContent(), SpecialBookSources\buildForm(), ProtectionForm\buildForm(), SpecialNewFiles\buildForm(), DummyLinker\buildRollbackLink(), Linker\buildRollbackLink(), ChangeTags\buildTagFilterSelector(), MediaWiki\Special\SpecialPageFactory\capturePath(), SpecialPageFactory\capturePath(), SpecialPageLanguage\changePageLanguage(), MediaWiki\Storage\PageEditStash\checkCache(), ResourceLoaderFileModule\compileLessFile(), ResourceLoaderUserTokensModule\contextUserTokens(), ContentHandler\createDifferenceEngine(), RevisionDeleter\createList(), MediaWiki\Logger\LogCapturingSpi\createLogger(), MediaWiki\Preferences\DefaultPreferencesFactory\datetimePreferences(), MWDebug\debugMsg(), Article\delete(), MediaWiki\Logger\LegacyLogger\destination(), Article\doDelete(), HttpError\doLog(), SpecialAutoblockList\execute(), SpecialBlockList\execute(), SpecialEmailUser\execute(), SpecialNewFiles\execute(), PhpHttpRequest\execute(), RebuildFileCache\execute(), MediaWiki\Special\SpecialPageFactory\executePath(), SpecialPageFactory\executePath(), ResourceLoaderFileModule\expandPackageFiles(), ApiQueryRevisionsBase\extractDeprecatedContent(), Action\factory(), MediaWiki\Logger\Monolog\LogstashFormatter\fixKeyConflicts(), MediaWiki\Logger\LegacyLogger\format(), DiffFormatter\format(), MediaWiki\Logger\LegacyLogger\formatAsWfDebug(), FeedUtils\formatDiffRow(), File\formatMetadata(), ExifBitmapHandler\formatMetadata(), GIFHandler\formatMetadata(), PNGHandler\formatMetadata(), MediaHandler\formatMetadataHelper(), ChangeTags\formatSummaryRow(), MediaWiki\Logger\Monolog\LogstashFormatter\formatV0(), MediaWiki\Logger\Monolog\LogstashFormatter\formatV1(), MWCryptHKDF\generate(), CryptHKDF\generate(), MWCryptHKDF\generateHex(), DummyLinker\generateRollback(), Linker\generateRollback(), MediaWiki\Preferences\DefaultPreferencesFactory\generateSkinOptions(), Action\getActionName(), AuthManagerSpecialPage\getAuthForm(), LoginSignupSpecialPage\getAuthForm(), MediaWiki\Block\AbstractBlock\getBlockErrorParams(), CacheHelper\getCachedNotice(), ChangesListSpecialPage\getChangeTagList(), ChangesListSpecialPage\getChangeTagListSummary(), SpecialEditWatchlist\getClearForm(), ResourceLoader\getCombinedVersion(), ResourceLoaderStartUpModule\getConfigSettings(), ResourceLoaderWikiModule\getContent(), ResourceLoaderWikiModule\getContentObj(), Action\getContext(), Profiler\getContext(), ResourceLoaderLanguageDataModule\getData(), MediaWiki\Preferences\DefaultPreferencesFactory\getDateOptions(), MWDebug\getDebugHTML(), MWDebug\getDebugInfo(), ResourceLoaderFileModule\getDefinitionSummary(), ResourceLoaderImageModule\getDefinitionSummary(), ResourceLoaderSkinModule\getDefinitionSummary(), ResourceLoaderWikiModule\getDefinitionSummary(), ResourceLoaderForeignApiModule\getDependencies(), ResourceLoaderModule\getDeprecationInformation(), ResourceLoaderModule\getFileDependencies(), ResourceLoaderFileModule\getFileHashes(), ResourceLoaderImageModule\getFileHashes(), MWDebug\getFilesIncluded(), ResourceLoaderFileModule\getFlip(), ResourceLoaderModule\getFlip(), FormSpecialPage\getForm(), MediaWiki\Preferences\DefaultPreferencesFactory\getForm(), MediaWiki\Preferences\DefaultPreferencesFactory\getFormDescriptor(), SpecialPreferences\getFormObject(), ResourceLoaderImageModule\getGlobalVariants(), ResourceLoaderImage\getImageData(), ResourceLoaderImageModule\getImages(), DummyLinker\getInvalidTitleDescription(), Linker\getInvalidTitleDescription(), ResourceLoaderLessVarFileModule\getLessVars(), UserGroupMembership\getLink(), ResourceLoaderLessVarFileModule\getMessageBlob(), ResourceLoaderModule\getMessageBlob(), ResourceLoaderModule\getModuleContent(), ResourceLoaderStartUpModule\getModuleRegistrations(), SpecialEditWatchlist\getNormalForm(), User\getOptionKinds(), ResourceLoaderFileModule\getPackageFiles(), ResourceLoaderSiteModule\getPages(), ResourceLoaderSiteStylesModule\getPages(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderImage\getPath(), MediaWiki\Block\CompositeBlock\getPermissionsError(), SpecialEditWatchlist\getRawForm(), ChangesListSpecialPage\getRcFiltersConfigSummary(), ChangesListSpecialPage\getRcFiltersConfigVars(), ManualLogEntry\getRecentChange(), OutputPage\getRlClient(), ResourceLoaderLanguageDataModule\getScript(), ResourceLoaderStartUpModule\getScript(), ResourceLoaderUserDefaultsModule\getScript(), ResourceLoaderUserOptionsModule\getScript(), ResourceLoaderUserTokensModule\getScript(), ResourceLoaderWikiModule\getScript(), ResourceLoaderFileModule\getScriptFiles(), ResourceLoaderModule\getScriptURLsForDebug(), ContentHandler\getSlotDiffRenderer(), UnknownContentHandler\getSlotDiffRendererInternal(), ResourceLoaderStartUpModule\getStoreVary(), ResourceLoaderImageModule\getStyleDeclarations(), ResourceLoaderFileModule\getStyleFiles(), ResourceLoaderFileModule\getStyles(), ResourceLoaderImageModule\getStyles(), ResourceLoaderSkinModule\getStyles(), ResourceLoaderWikiModule\getStyles(), ResourceLoaderFileModule\getStyleURLsForDebug(), ResourceLoaderModule\getStyleURLsForDebug(), ParserOutput\getText(), MediaWiki\Preferences\DefaultPreferencesFactory\getTimezoneOptions(), ResourceLoaderWikiModule\getTitleInfo(), SpecialUpload\getUploadForm(), ResourceLoaderImage\getUrl(), ResourceLoaderModule\getVary(), ResourceLoaderModule\getVersionHash(), RESTBagOStuff\handleError(), RequestContext\importScopedSession(), MediaWiki\Logger\LegacyLogger\interpolate(), WikitextContent\isCountable(), ResourceLoaderUserOptionsModule\isKnownEmpty(), ResourceLoaderWikiModule\isKnownEmpty(), HTMLFileCache\loadFromFileCache(), MediaWiki\Preferences\DefaultPreferencesFactory\loadPreferenceValues(), MediaWiki\Logger\ConsoleLogger\log(), MediaWiki\Logger\LegacyLogger\log(), MWExceptionHandler\logException(), MediaWiki\Auth\Throttler\logRejection(), ChangesListSpecialPage\makeLegend(), ApiBase\makeMessage(), ResourceLoader\makeModuleResponse(), ContentHandler\makeParserOptions(), Article\makeParserOptions(), WikiPage\makeParserOptions(), ResourceLoader\makeVersionQuery(), SpecialPrefixindex\namespacePrefixForm(), ParserOptions\newCanonical(), RequestContext\newExtraneousContext(), ParserOptions\newFromContext(), ResourceFileCache\newFromContext(), Article\newFromTitle(), Article\newFromWikiPage(), ResourceLoader\outputErrorAndLog(), SpecialAllPages\outputHTMLForm(), MediaWiki\Revision\RenderedRevision\outputVariesOnRevisionMetaData(), MediaWiki\Storage\PageEditStash\parseAndCache(), ResourceLoader\preloadModuleInfo(), ResourceLoaderWikiModule\preloadTitleInfo(), MediaWiki\preOutputCommit(), SpecialTags\processCreateTagForm(), SpecialBlock\processForm(), SpecialTags\processTagForm(), MediaWiki\Preferences\DefaultPreferencesFactory\profilePreferences(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), SpecialWatchlist\registerFilters(), UserNotLoggedIn\report(), Wikimedia\Rdbms\LoadBalancer\reportConnectionError(), User\resetOptions(), ResourceLoader\respond(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), MediaWiki\run(), ResourceLoaderModule\saveFileDependencies(), ContentSecurityPolicy\sendHeaders(), ResourceLoaderImage\sendResponseHeaders(), ResourceLoader\sendResponseHeaders(), Article\setContext(), Profiler\setContext(), SpecialPage\setContext(), ResourceLoaderModule\setFileDependencies(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), ResourceLoaderWikiModule\shouldEmbedModule(), MediaWiki\Logger\LegacyLogger\shouldEmit(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), MediaWiki\Preferences\DefaultPreferencesFactory\skinPreferences(), SpecialEmailUser\submit(), MediaWiki\Preferences\DefaultPreferencesFactory\submitForm(), ChangeTags\tagDescription(), ChangeTags\tagLongDescriptionMessage(), ChangeTags\tagShortDescriptionMessage(), ChangeTags\truncateTagDescription(), ResourceLoader\tryRespondFromFileCache(), ResourceLoader\tryRespondNotModified(), HTMLFileCache\useFileCache(), ResourceFileCache\useFileCache(), MediaWiki\Logger\Monolog\KafkaHandler\warning(), MediaWiki\Preferences\DefaultPreferencesFactory\watchlistPreferences(), 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