Difference between revisions 1097006 and 1157344 on mediawikiwiki<languages/> {{ {{TNTN|MW file}} |load.php}} '''load.php''' ist ein Skript für den Front-End, um [[ResourceLoader]] Module zum laden einzuhaken. == Nicht angezeigte Styles == After they updated to MediaWiki 1.18 or newer, many users had the problem that their wiki showed up without styles. CSS styles were not applied; what they saw instead looks like a trimmed down version. All styles are browser defaults; no special styles are applied. (contracted; show full) First it checks the PHP version, which must be {{MW stable php requirement}} or higher, and it includes [[Special:MyLanguage/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. A custom value for the location of the load.php script can be provided using [[Special:MyLanguage/<code>{{ll|Manual:$wgLoadScript|$wgLoadScript]]}}</code>. All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://mediawiki.org/w/index.php?diff=prev&oldid=1157344.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|