MediaWiki  1.34.0
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 SpecialRecentChanges\__construct(), LogPage\addEntry(), MWDebug\appendDebugInfoToApiResult(), ResourceLoaderModule\buildContent(), SpecialNewFiles\buildForm(), SpecialBookSources\buildForm(), ProtectionForm\buildForm(), DummyLinker\buildRollbackLink(), Linker\buildRollbackLink(), ChangeTags\buildTagFilterSelector(), SpecialPageFactory\capturePath(), SpecialPageLanguage\changePageLanguage(), ResourceLoaderFileModule\compileLessFile(), ConfirmEditHooks\confirmEditMerged(), SimpleCaptcha\confirmEditMerged(), ResourceLoaderUserTokensModule\contextUserTokens(), CategoryTree\createCountString(), ContentHandler\createDifferenceEngine(), RevisionDeleter\createList(), MWDebug\debugMsg(), Article\delete(), SimpleCaptcha\doConfirmEdit(), Article\doDelete(), HttpError\doLog(), SimpleCaptcha\editShowCaptcha(), SpecialNewFiles\execute(), SpecialAutoblockList\execute(), SpecialBlockList\execute(), RebuildFileCache\execute(), PhpHttpRequest\execute(), SpecialEmailUser\execute(), SpecialPageFactory\executePath(), ResourceLoaderFileModule\expandPackageFiles(), SpecialReplaceText\extractContext(), PageImages\Hooks\LinksUpdateHookHandler\fetchFileMetadata(), SpamBlacklistHooks\filterMergedContent(), DiffFormatter\format(), FeedUtils\formatDiffRow(), GIFHandler\formatMetadata(), PNGHandler\formatMetadata(), ExifBitmapHandler\formatMetadata(), PdfHandler\formatMetadata(), File\formatMetadata(), MediaHandler\formatMetadataHelper(), ChangeTags\formatSummaryRow(), MWCryptHKDF\generate(), MWCryptHKDF\generateHex(), DummyLinker\generateRollback(), Linker\generateRollback(), AuthManagerSpecialPage\getAuthForm(), LoginSignupSpecialPage\getAuthForm(), CacheHelper\getCachedNotice(), ChangesListSpecialPage\getChangeTagList(), ChangesListSpecialPage\getChangeTagListSummary(), SpecialEditWatchlist\getClearForm(), ResourceLoaderStartUpModule\getConfigSettings(), ResourceLoaderWikiModule\getContentObj(), ResourceLoaderLanguageDataModule\getData(), MWDebug\getDebugHTML(), MWDebug\getDebugInfo(), TimelessVariablesModule\getDefinitionSummary(), CiteDataModule\getDefinitionSummary(), ResourceLoaderSkinModule\getDefinitionSummary(), ResourceLoaderWikiModule\getDefinitionSummary(), ResourceLoaderImageModule\getDefinitionSummary(), ResourceLoaderFileModule\getDefinitionSummary(), ResourceLoaderForeignApiModule\getDependencies(), ResourceLoaderModule\getDeprecationInformation(), ResourceLoaderModule\getFileDependencies(), ResourceLoaderImageModule\getFileHashes(), ResourceLoaderFileModule\getFileHashes(), MWDebug\getFilesIncluded(), ResourceLoaderModule\getFlip(), ResourceLoaderFileModule\getFlip(), HTMLFancyCaptchaFieldTest\getForm(), FormSpecialPage\getForm(), SpecialPreferences\getFormObject(), ResourceLoaderImageModule\getGlobalVariants(), ResourceLoaderImage\getImageData(), ResourceLoaderImageModule\getImages(), DummyLinker\getInvalidTitleDescription(), Linker\getInvalidTitleDescription(), TimelessVariablesModule\getLessVars(), Vector\ResourceLoaderLessModule\getLessVars(), ResourceLoaderLessVarFileModule\getLessVars(), UserGroupMembership\getLink(), ResourceLoaderLessVarFileModule\getMessageBlob(), ResourceLoaderModule\getMessageBlob(), ResourceLoaderModule\getModuleContent(), WikiEditorHooks\getModuleData(), WikiEditorHooks\getModuleDataSummary(), ResourceLoaderStartUpModule\getModuleRegistrations(), SpecialEditWatchlist\getNormalForm(), User\getOptionKinds(), ResourceLoaderFileModule\getPackageFiles(), ResourceLoaderSiteModule\getPages(), ResourceLoaderSiteStylesModule\getPages(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderImage\getPath(), SpecialEditWatchlist\getRawForm(), ChangesListSpecialPage\getRcFiltersConfigSummary(), ChangesListSpecialPage\getRcFiltersConfigVars(), ManualLogEntry\getRecentChange(), CiteDataModule\getScript(), ResourceLoaderSyntaxHighlightVisualEditorModule\getScript(), ResourceLoaderUserDefaultsModule\getScript(), ResourceLoaderUserOptionsModule\getScript(), ResourceLoaderUserTokensModule\getScript(), ResourceLoaderLanguageDataModule\getScript(), ResourceLoaderWikiModule\getScript(), ResourceLoaderStartUpModule\getScript(), ResourceLoaderFileModule\getScriptFiles(), ResourceLoaderModule\getScriptURLsForDebug(), ContentHandler\getSlotDiffRenderer(), UnknownContentHandler\getSlotDiffRendererInternal(), ResourceLoaderStartUpModule\getStoreVary(), ResourceLoaderImageModule\getStyleDeclarations(), ResourceLoaderFileModule\getStyleFiles(), ResourceLoaderSkinModule\getStyles(), ResourceLoaderWikiModule\getStyles(), ResourceLoaderImageModule\getStyles(), ResourceLoaderFileModule\getStyles(), ResourceLoaderModule\getStyleURLsForDebug(), ResourceLoaderFileModule\getStyleURLsForDebug(), ParserOutput\getText(), ResourceLoaderWikiModule\getTitleInfo(), SpecialReplaceText\getTitlesForEditingWithContext(), SpecialUpload\getUploadForm(), ResourceLoaderImage\getUrl(), ResourceLoaderModule\getVary(), ResourceLoaderModule\getVersionHash(), RESTBagOStuff\handleError(), RequestContext\importScopedSession(), WikitextContent\isCountable(), ResourceLoaderUserOptionsModule\isKnownEmpty(), HTMLFileCache\loadFromFileCache(), MWExceptionHandler\logException(), ChangesListSpecialPage\makeLegend(), ContentHandler\makeParserOptions(), WikiPage\makeParserOptions(), Article\makeParserOptions(), SpecialPrefixindex\namespacePrefixForm(), ParserOptions\newCanonical(), RequestContext\newExtraneousContext(), ResourceFileCache\newFromContext(), ParserOptions\newFromContext(), Article\newFromTitle(), Article\newFromWikiPage(), TextExtracts\Test\ApiQueryExtractsTest\newInstance(), PageImages\Tests\ApiQueryPageImagesTest\newInstance(), onApiFormatHighlight(), GadgetHooks\onEditFilterMergedContent(), PageImages\onInfoAction(), SpecialAllPages\outputHTMLForm(), SpecialReplaceText\pageListForm(), ResourceLoaderWikiModule\preloadTitleInfo(), SpecialTags\processCreateTagForm(), SpecialBlock\processForm(), SpecialTags\processTagForm(), SpecialUnblock\processUnblock(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), SpecialWatchlist\registerFilters(), UserNotLoggedIn\report(), Wikimedia\Rdbms\LoadBalancer\reportConnectionError(), User\resetOptions(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), ResourceLoaderModule\saveFileDependencies(), ContentSecurityPolicy\sendHeaders(), ResourceLoaderImage\sendResponseHeaders(), SpecialPage\setContext(), Article\setContext(), ResourceLoaderModule\setFileDependencies(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), SimpleCaptcha\shouldCheck(), ResourceLoaderWikiModule\shouldEmbedModule(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), SpecialEmailUser\submit(), ChangeTags\tagDescription(), ChangeTags\tagLongDescriptionMessage(), ChangeTags\tagShortDescriptionMessage(), PageImages\Tests\PageImagesTest\testGivenNonExistingPageOnBeforePageDisplayDoesNotAddMeta(), HTMLReCaptchaNoCaptchaFieldTest\testSubmit(), ChangeTags\truncateTagDescription(), ResourceFileCache\useFileCache(), HTMLFileCache\useFileCache(), ScribuntoHooks\validateScript(), 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