MediaWiki  1.28.1
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
 
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 = new ResourceLoaderContext( $resourceLoader, $wgRequest )

Definition at line 50 of file load.php.

Referenced by LogPage\addEntry(), SpecialRecentchangesTest\assertConditions(), Parser\braceSubstitution(), SpecialBookSources\buildForm(), ProtectionForm\buildForm(), DummyLinker\buildRollbackLink(), Linker\buildRollbackLink(), ApiPageSetTest\createPageSetWithRedirect(), MWDebug\debugMsg(), Article\delete(), ApiTestCase\doApiRequest(), Article\doDelete(), HttpError\doLog(), ActionTest\dummyActionCallback(), ApiFormatTestBase\encodeData(), SpecialBlockList\execute(), RebuildFileCache\execute(), PhpHttpRequest\execute(), SpecialEmailUser\execute(), SpecialPageExecutor\executeSpecialPage(), DiffFormatter\format(), FeedUtils\formatDiffRow(), GIFHandler\formatMetadata(), PNGHandler\formatMetadata(), ExifBitmapHandler\formatMetadata(), File\formatMetadata(), MediaHandler\formatMetadataHelper(), ChangeTags\formatSummaryRow(), MWCryptHKDF\generate(), MWCryptHKDF\generateHex(), DummyLinker\generateRollback(), Linker\generateRollback(), ResourceLoaderStartUpModule\getAllModuleHashes(), AuthManagerSpecialPage\getAuthForm(), LoginSignupSpecialPage\getAuthForm(), SpecialEditWatchlist\getClearForm(), ResourceLoaderStartUpModule\getConfigSettings(), ActionTest\getContext(), OldChangesListTest\getContext(), RCCacheEntryFactoryTest\getContext(), ResourceLoaderForeignApiModule\getDependencies(), ResourceLoaderModule\getFlip(), ResourceLoaderFileModule\getFlip(), ApiContinuationManagerTest\getManager(), SpecialEditWatchlist\getNormalForm(), OldChangesListTest\getOldChangesList(), SpecialEditWatchlist\getRawForm(), ManualLogEntry\getRecentChange(), TestRecentChangesHelper\getTestContext(), SpecialUpload\getUploadForm(), RequestContext\importScopedSession(), WikitextContent\isCountable(), Preferences\loadPreferenceValues(), ChangesListSpecialPage\makeLegend(), ContentHandler\makeParserOptions(), WikiPage\makeParserOptions(), Article\makeParserOptions(), SpecialPageExecutor\newContext(), EnhancedChangesListTest\newEnhancedChangesList(), RequestContext\newExtraneousContext(), Article\newFromWikiPage(), ApiTestContext\newTestContext(), ParserTestRunner\perTestSetup(), SpecialTags\processCreateTagForm(), SpecialTags\processTagForm(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), UserNotLoggedIn\report(), LoadBalancer\reportConnectionError(), User\resetOptions(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), ParserTestRunner\runTest(), SpecialPage\setContext(), Article\setContext(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), SpecialMIMESearchTest\setUp(), ActionTest\setUp(), UploadFromUrlTestSuite\setUp(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), 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(), ResourceLoaderClientHtmlTest\testGetHeadHtml(), ResourceLoaderImageTest\testGetImageData(), ResourceLoaderStartUpModuleTest\testGetModuleRegistrations(), ApiBaseTest\testGetParameterFromSettings(), ResourceLoaderImageTest\testGetPath(), ResourceLoaderWikiModuleTest\testGetPreloadedTitleInfo(), ResourceLoaderWikiModuleTest\testGetTitleInfo(), ResourceLoaderModuleTest\testGetVersionHash(), ApiPageSetTest\testHandleNormalization(), OutputPageTest\testHaveCacheVaryCookies(), RequestContextTest\testImportScopedSession(), ResourceLoaderWikiModuleTest\testIsKnownEmpty(), DerivativeResourceLoaderContextTest\testLanguage(), ResourceLoaderTest\testLessFileCompilation(), ResourceLoaderClientHtmlTest\testMakeLoad(), ActionTest\testNull_defaultsToView(), SpecialSearchTest\testProfileAndNamespaceLoading(), ResourceLoaderStartUpModuleTest\testRegistrationsMinified(), ResourceLoaderStartUpModuleTest\testRegistrationsUnminified(), MediaWikiTest\testTryNormaliseRedirect(), ResourceLoaderModuleTest\testValidateScriptFile(), RequestContextTest\testWikiPageTitle(), Preferences\tryUISubmit(), and wfThumbError().

$mediawiki = new MediaWiki()

Definition at line 57 of file load.php.

$resourceLoader
Initial value:
ConfigFactory::getDefaultInstance()->makeConfig( 'main' ),
LoggerFactory::getInstance( 'resourceloader' )
)
static getDefaultInstance()
Dynamic JavaScript and CSS resource loading system.

Definition at line 46 of file load.php.