Manual:Load.php: Difference between revisions
Appearance
Content deleted Content added
m lowercase |
No edit summary |
||
| Line 1: | Line 1: | ||
{{MW file|load.php|/}} |
{{MW file|load.php|/}} |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
First it checks the PHP version, which must be 5.2.3. or higher, and it includes [[Manual:WebStart.php|WebStart.php]]. Next, it creates a [http://svn.wikimedia.org/doc/classResourceLoader.html <code>ResourceLoader</code> object] and calls its <code>respond()</code> method, which outputs the specified resource content, including a content-type header. |
|||
{{Languages}} |
{{Languages}} |
||
Revision as of 00:34, 13 February 2012
| MediaWiki file: load.php | |
|---|---|
| Location: | / |
| Source code: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Classes: | Find code • Find documentation |
load.php is a script for the front-end to hook into for loading ResourceLoader modules.
Details
First it checks the PHP version, which must be 5.2.3. or higher, and it includes WebStart.php. Next, it creates a ResourceLoader object and calls its respond() method, which outputs the specified resource content, including a content-type header.