MediaWiki  master
load.php File Reference

The web 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

The web entry point for ResourceLoader.

It serves static CSS and JavaScript assets for web browsers.

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 43 of file load.php.

Referenced by UserBlockedError\__construct(), 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(), ResourceLoaderFileModule\compileLessString(), ContentHandler\createDifferenceEngine(), RevisionDeleter\createList(), MWDebug\debugMsg(), Article\delete(), ContentModelChange\doContentModelChange(), Article\doDelete(), HttpError\doLog(), SpecialNewFiles\execute(), SpecialAutoblockList\execute(), SpecialBlockList\execute(), RebuildFileCache\execute(), PhpHttpRequest\execute(), SpecialEmailUser\execute(), SpecialPageFactory\executePath(), ResourceLoaderFileModule\expandPackageFiles(), 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(), CacheHelper\getCachedNotice(), ChangesListSpecialPage\getChangeTagList(), ChangesListSpecialPage\getChangeTagListSummary(), SpecialEditWatchlist\getClearForm(), ResourceLoaderWikiModule\getContentObj(), ResourceLoaderLanguageDataModule\getData(), MWDebug\getDebugHTML(), MWDebug\getDebugInfo(), ResourceLoaderWikiModule\getDefinitionSummary(), ResourceLoaderImageModule\getDefinitionSummary(), ResourceLoaderSkinModule\getDefinitionSummary(), ResourceLoaderFileModule\getDefinitionSummary(), ResourceLoaderForeignApiModule\getDependencies(), ResourceLoaderModule\getDeprecationInformation(), ResourceLoaderModule\getFileDependencies(), ResourceLoaderImageModule\getFileHashes(), ResourceLoaderFileModule\getFileHashes(), MWDebug\getFilesIncluded(), ResourceLoaderModule\getFlip(), ResourceLoaderFileModule\getFlip(), FormSpecialPage\getForm(), SpecialPreferences\getFormObject(), ResourceLoaderImageModule\getGlobalVariants(), ResourceLoaderImage\getImageData(), ResourceLoaderImageModule\getImages(), DummyLinker\getInvalidTitleDescription(), Linker\getInvalidTitleDescription(), ResourceLoaderLessVarFileModule\getLessVars(), ResourceLoaderSkinModule\getLessVars(), UserGroupMembership\getLink(), ResourceLoaderLessVarFileModule\getMessageBlob(), ResourceLoaderModule\getMessageBlob(), ResourceLoaderModule\getModuleContent(), ResourceLoaderStartUpModule\getModuleRegistrations(), SpecialEditWatchlist\getNormalForm(), User\getOptionKinds(), ResourceLoaderFileModule\getPackageFiles(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderSiteModule\getPages(), ResourceLoaderSiteStylesModule\getPages(), ResourceLoaderImage\getPath(), SpecialEditWatchlist\getRawForm(), ChangesListSpecialPage\getRcFiltersConfigSummary(), ChangesListSpecialPage\getRcFiltersConfigVars(), ManualLogEntry\getRecentChange(), ResourceLoaderUserDefaultsModule\getScript(), ResourceLoaderUserOptionsModule\getScript(), ResourceLoaderLanguageDataModule\getScript(), ResourceLoaderWikiModule\getScript(), ResourceLoaderStartUpModule\getScript(), ResourceLoaderFileModule\getScriptFiles(), ResourceLoaderModule\getScriptURLsForDebug(), ContentHandler\getSlotDiffRenderer(), UnknownContentHandler\getSlotDiffRendererInternal(), ResourceLoaderStartUpModule\getStoreVary(), ResourceLoaderImageModule\getStyleDeclarations(), ResourceLoaderSkinModule\getStyleFiles(), ResourceLoaderFileModule\getStyleFiles(), ResourceLoaderSkinModule\getStyles(), ResourceLoaderWikiModule\getStyles(), ResourceLoaderImageModule\getStyles(), ResourceLoaderFileModule\getStyles(), ResourceLoaderModule\getStyleURLsForDebug(), ResourceLoaderFileModule\getStyleURLsForDebug(), ResourceLoaderWikiModule\getTitleInfo(), SpecialUpload\getUploadForm(), ResourceLoaderImage\getUrl(), ResourceLoaderModule\getVary(), ResourceLoaderModule\getVersionHash(), RESTBagOStuff\handleError(), RequestContext\importScopedSession(), WikitextContent\isCountable(), HTMLFileCache\loadFromFileCache(), MWExceptionHandler\logException(), ChangesListSpecialPage\makeLegend(), WikiPage\makeParserOptions(), Article\makeParserOptions(), SpecialPrefixindex\namespacePrefixForm(), ParserOptions\newCanonical(), RequestContext\newExtraneousContext(), ResourceFileCache\newFromContext(), ParserOptions\newFromContext(), Article\newFromTitle(), Article\newFromWikiPage(), SpecialAllPages\outputHTMLForm(), ResourceLoaderWikiModule\preloadTitleInfo(), SpecialTags\processCreateTagForm(), SpecialBlock\processForm(), ResourceLoaderFileModule\processStyle(), SpecialTags\processTagForm(), SpecialUnblock\processUnblock(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), SpecialWatchlist\registerFilters(), UserNotLoggedIn\report(), Wikimedia\Rdbms\LoadBalancer\reportConnectionError(), User\resetOptions(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), ResourceLoaderModule\saveFileDependencies(), ResourceLoaderImage\sendResponseHeaders(), SpecialPage\setContext(), Article\setContext(), ResourceLoaderModule\setFileDependencies(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), ResourceLoaderWikiModule\shouldEmbedModule(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), SpecialEmailUser\submit(), ChangeTags\tagDescription(), ChangeTags\tagLongDescriptionMessage(), ChangeTags\tagShortDescriptionMessage(), ChangeTags\truncateTagDescription(), ResourceFileCache\useFileCache(), HTMLFileCache\useFileCache(), wfDebug(), wfDebugLog(), wfLogDBError(), wfLogProfilingData(), and wfThumbError().

◆ $mediawiki

$mediawiki = new MediaWiki()

Definition at line 50 of file load.php.

◆ $resourceLoader

$resourceLoader = MediaWikiServices::getInstance()->getResourceLoader()

◆ MW_ENTRY_POINT

const MW_ENTRY_POINT 'load'

Definition at line 34 of file load.php.

◆ MW_NO_SESSION