MediaWiki  1.27.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()
 
if(!$wgRequest->
checkUrlExtension()) 
$resourceLoader
 
const MW_NO_SESSION 'warn'
 

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

Referenced by LogPage\addEntry(), SpecialRecentchangesTest\assertConditions(), Parser\braceSubstitution(), 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(), SpecialEmailUser\execute(), PhpHttpRequest\execute(), SpecialPageExecutor\executeSpecialPage(), DBConnectionError\fileCachedPage(), DiffFormatter\format(), FeedUtils\formatDiffRow(), GIFHandler\formatMetadata(), PNGHandler\formatMetadata(), ExifBitmapHandler\formatMetadata(), File\formatMetadata(), MediaHandler\formatMetadataHelper(), ChangeTags\formatSummaryRow(), 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(), SpecialTags\processCreateTagForm(), SpecialTags\processTagForm(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), UserNotLoggedIn\report(), LoadBalancer\reportConnectionError(), User\resetOptions(), AssembleUploadChunksJob\run(), PublishStashedFileJob\run(), ParserTest\runTest(), SpecialPage\setContext(), Article\setContext(), Article\setOldSubtitle(), LoginSignupSpecialPage\setSessionUserForCurrentRequest(), SpecialMIMESearchTest\setUp(), ActionTest\setUp(), UploadFromUrlTestSuite\setUp(), ParserTest\setUp(), NewParserTest\setupGlobals(), ParserTest\setupGlobals(), Article\showRedirectedFromHeader(), SpecialPreferences\showResetForm(), SpecialUploadStash\showUploads(), ActionTest\testActionFactory(), MWDebugTest\testAppendDebugInfoToApiResultXmlFormat(), SpecialPreferencesTest\testBug41337(), ApiMainTest\testCheckConditionalRequestHeaders(), ApiFormatPhpTest\testCrossDomainMangling(), ApiResultTest\testDeprecatedFunctions(), ActionTest\testDisabledAction_isNotResolved(), DerivativeResourceLoaderContextTest\testGet(), ActionTest\testGetActionName(), ActionTest\testGetActionName_editredlinkWorkaround(), ActionTest\testGetActionName_historysubmitWorkaround(), ActionTest\testGetActionName_revisiondeleteWorkaround(), ActionTest\testGetActionName_whenCanNotUseWikiPage_defaultsToView(), DerivativeResourceLoaderContextTest\testGetHash(), ResourceLoaderImageTest\testGetImageData(), ResourceLoaderStartUpModuleTest\testGetModuleRegistrations(), ResourceLoaderImageTest\testGetPath(), ResourceLoaderModuleTest\testGetVersionHash(), OutputPageTest\testHaveCacheVaryCookies(), RequestContextTest\testImportScopedSession(), ResourceLoaderWikiModuleTest\testIsKnownEmpty(), ResourceLoaderTest\testLessFileCompilation(), RCCacheEntryFactoryTest\testNewForDeleteChange(), RCCacheEntryFactoryTest\testNewForRevUserDeleteChange(), RCCacheEntryFactoryTest\testNewFromRecentChange(), ActionTest\testNull_defaultsToView(), NewParserTest\testParserTest(), SpecialSearchTest\testProfileAndNamespaceLoading(), ResourceLoaderStartUpModuleTest\testRegistrationsMinified(), ResourceLoaderStartUpModuleTest\testRegistrationsUnminified(), DerivativeResourceLoaderContextTest\testSetLanguage(), DerivativeResourceLoaderContextTest\testSetModules(), DerivativeResourceLoaderContextTest\testSetOnly(), DerivativeResourceLoaderContextTest\testSetSkin(), MediaWikiTest\testTryNormaliseRedirect(), ResourceLoaderModuleTest\testValidateScriptFile(), RequestContextTest\testWikiPageTitle(), Preferences\tryUISubmit(), and wfThumbError().

$mediawiki = new MediaWiki()

Definition at line 51 of file load.php.

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

Definition at line 40 of file load.php.