MediaWiki REL1_28
|
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 | |
const | MW_NO_SESSION 1 |
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
Definition in file load.php.
$context = new ResourceLoaderContext( $resourceLoader, $wgRequest ) |
Definition at line 50 of file load.php.
Referenced by CryptHKDF\__construct(), MediaWiki\__construct(), LogPage\addEntry(), MWDebug\appendDebugInfoToApiResult(), SpecialRecentchangesTest\assertConditions(), Parser\braceSubstitution(), ResourceLoaderModule\buildContent(), SpecialBookSources\buildForm(), ProtectionForm\buildForm(), DummyLinker\buildRollbackLink(), Linker\buildRollbackLink(), SpecialPageFactory\capturePath(), ResourceLoaderFileModule\compileLessFile(), ResourceLoaderUserTokensModule\contextUserTokens(), ContentHandler\createDifferenceEngine(), RevisionDeleter\createList(), ApiPageSetTest\createPageSetWithRedirect(), Preferences\datetimePreferences(), MWDebug\debugMsg(), Article\delete(), MediaWiki\Logger\LegacyLogger\destination(), ApiTestCase\doApiRequest(), Article\doDelete(), HttpError\doLog(), ActionTest\dummyActionCallback(), Preferences\editingPreferences(), ApiFormatTestBase\encodeData(), SpecialBlockList\execute(), SpecialEmailUser\execute(), PhpHttpRequest\execute(), RebuildFileCache\execute(), SpecialPageFactory\executePath(), SpecialPageExecutor\executeSpecialPage(), Preferences\filesPreferences(), MediaWiki\Logger\LegacyLogger\format(), DiffFormatter\format(), MediaWiki\Logger\LegacyLogger\formatAsWfDebug(), FeedUtils\formatDiffRow(), File\formatMetadata(), ExifBitmapHandler\formatMetadata(), GIFHandler\formatMetadata(), PNGHandler\formatMetadata(), MediaHandler\formatMetadataHelper(), ChangeTags\formatSummaryRow(), MWCryptHKDF\generate(), CryptHKDF\generate(), MWCryptHKDF\generateHex(), DummyLinker\generateRollback(), Linker\generateRollback(), Preferences\generateSkinOptions(), ResourceLoaderStartUpModule\getAllModuleHashes(), AuthManagerSpecialPage\getAuthForm(), LoginSignupSpecialPage\getAuthForm(), CacheHelper\getCachedNotice(), SpecialEditWatchlist\getClearForm(), ResourceLoader\getCombinedVersion(), ResourceLoaderStartUpModule\getConfigSettings(), ActionTest\getContext(), OldChangesListTest\getContext(), RCCacheEntryFactoryTest\getContext(), ResourceLoaderLanguageDataModule\getData(), ResourceLoaderLanguageNamesModule\getData(), Preferences\getDateOptions(), MWDebug\getDebugHTML(), MWDebug\getDebugInfo(), ResourceLoaderFileModule\getDefinitionSummary(), ResourceLoaderImageModule\getDefinitionSummary(), ResourceLoaderStartUpModule\getDefinitionSummary(), ResourceLoaderWikiModule\getDefinitionSummary(), ResourceLoaderForeignApiModule\getDependencies(), ResourceLoaderModule\getFileDependencies(), ResourceLoaderFileModule\getFileHashes(), ResourceLoaderImageModule\getFileHashes(), MWDebug\getFilesIncluded(), ResourceLoaderFileModule\getFlip(), ResourceLoaderModule\getFlip(), Preferences\getFormObject(), ResourceLoaderImageModule\getGlobalVariants(), ResourceLoaderImage\getImageData(), ResourceLoaderImageModule\getImages(), Preferences\getImageSizes(), DummyLinker\getInvalidTitleDescription(), Linker\getInvalidTitleDescription(), ResourceLoaderEditToolbarModule\getLessVars(), ApiContinuationManagerTest\getManager(), ResourceLoaderModule\getMessageBlob(), ResourceLoaderSkinModule\getModifiedHash(), ResourceLoaderModule\getModuleContent(), ResourceLoaderStartUpModule\getModuleRegistrations(), SpecialEditWatchlist\getNormalForm(), OldChangesListTest\getOldChangesList(), User\getOptionKinds(), ResourceLoaderSiteModule\getPages(), ResourceLoaderSiteStylesModule\getPages(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderImage\getPath(), Block\getPermissionsError(), Preferences\getPreferences(), SpecialEditWatchlist\getRawForm(), ManualLogEntry\getRecentChange(), ResourceLoaderJqueryMsgModule\getScript(), ResourceLoaderLanguageDataModule\getScript(), ResourceLoaderLanguageNamesModule\getScript(), ResourceLoaderRawFileModule\getScript(), ResourceLoaderStartUpModule\getScript(), ResourceLoaderUploadDialogModule\getScript(), ResourceLoaderUserOptionsModule\getScript(), ResourceLoaderFileModule\getScriptFiles(), ResourceLoaderJqueryMsgModule\getScriptURLsForDebug(), ResourceLoaderModule\getScriptURLsForDebug(), ResourceLoaderStartUpModule\getStartupModulesUrl(), ResourceLoaderFileModule\getStyleFiles(), ResourceLoaderFileModule\getStyles(), ResourceLoaderImageModule\getStyles(), ResourceLoaderSkinModule\getStyles(), ResourceLoaderFileModule\getStyleURLsForDebug(), ResourceLoaderModule\getStyleURLsForDebug(), TestRecentChangesHelper\getTestContext(), Preferences\getThumbSizes(), Preferences\getTimezoneOptions(), SpecialUpload\getUploadForm(), ResourceLoaderImage\getUrl(), MediaWiki\getUrlDomainDistance(), ResourceLoaderModule\getVersionHash(), RequestContext\importScopedSession(), MediaWiki\Logger\LegacyLogger\interpolate(), WikitextContent\isCountable(), HTMLFileCache\loadFromFileCache(), Preferences\loadPreferenceValues(), MediaWiki\Logger\LegacyLogger\log(), MediaWiki\Auth\Throttler\logRejection(), ChangesListSpecialPage\makeLegend(), ResourceLoader\makeModuleResponse(), ContentHandler\makeParserOptions(), Article\makeParserOptions(), WikiPage\makeParserOptions(), ResourceLoader\makeVersionQuery(), SpecialPageExecutor\newContext(), EnhancedChangesListTest\newEnhancedChangesList(), RequestContext\newExtraneousContext(), ParserOptions\newFromContext(), ResourceFileCache\newFromContext(), Article\newFromTitle(), Article\newFromWikiPage(), ApiTestContext\newTestContext(), ParserTestRunner\perTestSetup(), ResourceLoader\preloadModuleInfo(), ResourceLoaderWikiModule\preloadTitleInfo(), MediaWiki\preOutputCommit(), SpecialTags\processCreateTagForm(), SpecialBlock\processForm(), SpecialTags\processTagForm(), Preferences\profilePreferences(), Preferences\rcPreferences(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), Preferences\renderingPreferences(), UserNotLoggedIn\report(), LoadBalancer\reportConnectionError(), User\resetOptions(), ResourceLoader\respond(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), MediaWiki\run(), ParserTestRunner\runTest(), ResourceLoaderModule\saveFileDependencies(), ResourceLoaderImage\sendResponseHeaders(), ResourceLoader\sendResponseHeaders(), Article\setContext(), SpecialPage\setContext(), Message\setContext(), SpecialPageExecutor\setEditTokenFromUser(), ResourceLoaderModule\setFileDependencies(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), ActionTest\setUp(), SpecialMIMESearchTest\setUp(), UploadFromUrlTestSuite\setUp(), MediaWiki\Logger\LegacyLogger\shouldEmit(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), Preferences\skinPreferences(), SpecialEmailUser\submit(), DerivativeResourceLoaderContextTest\testAccessors(), ActionTest\testActionFactory(), MWDebugTest\testAppendDebugInfoToApiResultXmlFormat(), SpecialPreferencesTest\testBug41337(), ApiMainTest\testCheckConditionalRequestHeaders(), ResourceLoaderImageModuleTest\testContext(), ApiFormatPhpTest\testCrossDomainMangling(), ActionTest\testDisabledAction_isNotResolved(), HTMLRestrictionsFieldTest\testForm(), ActionTest\testGetActionName(), ActionTest\testGetActionName_editredlinkWorkaround(), ActionTest\testGetActionName_historysubmitWorkaround(), ActionTest\testGetActionName_revisiondeleteWorkaround(), ActionTest\testGetActionName_whenCanNotUseWikiPage_defaultsToView(), ResourceLoaderClientHtmlTest\testGetBodyHtml(), ResourceLoaderClientHtmlTest\testGetData(), MediaWiki\Session\SessionManagerTest\testGetGlobalSession(), ResourceLoaderClientHtmlTest\testGetHeadHtml(), ResourceLoaderImageTest\testGetImageData(), ResourceLoaderStartUpModuleTest\testGetModuleRegistrations(), ApiBaseTest\testGetParameterFromSettings(), ResourceLoaderImageTest\testGetPath(), ResourceLoaderWikiModuleTest\testGetPreloadedTitleInfo(), ResourceLoaderWikiModuleTest\testGetTitleInfo(), ResourceLoaderModuleTest\testGetVersionHash(), ApiPageSetTest\testHandleNormalization(), OutputPageTest\testHaveCacheVaryCookies(), RequestContextTest\testImportScopedSession(), MediaWiki\Logger\LegacyLoggerTest\testInterpolate(), ResourceLoaderWikiModuleTest\testIsKnownEmpty(), DerivativeResourceLoaderContextTest\testLanguage(), ResourceLoaderTest\testLessFileCompilation(), ResourceLoaderClientHtmlTest\testMakeLoad(), ActionTest\testNull_defaultsToView(), SpecialSearchTest\testProfileAndNamespaceLoading(), ResourceLoaderStartUpModuleTest\testRegistrationsMinified(), ResourceLoaderStartUpModuleTest\testRegistrationsUnminified(), MediaWiki\Auth\AuthManagerTest\testSetDefaultUserOptions(), MediaWikiTest\testTryNormaliseRedirect(), ResourceLoaderModuleTest\testValidateScriptFile(), RequestContextTest\testWikiPageTitle(), ResourceLoader\tryRespondFromFileCache(), ResourceLoader\tryRespondNotModified(), Preferences\tryUISubmit(), HTMLFileCache\useFileCache(), ResourceFileCache\useFileCache(), MediaWiki\Logger\Monolog\KafkaHandler\warning(), Preferences\watchlistPreferences(), wfDebug(), wfDebugLog(), wfErrorLog(), wfLogDBError(), wfLogProfilingData(), and wfThumbError().
$resourceLoader |
const MW_NO_SESSION 1 |
Definition at line 30 of file load.php.
Referenced by MediaWiki\Session\SessionManager\getSessionFromInfo(), MediaWiki\Session\SessionManager\getVaryCookies(), and MediaWiki\Session\SessionManager\getVaryHeaders().