Difference between revisions 2189710 and 2617701 on mediawikiwiki

<languages/>
{{TNT|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)

Code executed via load.php should not rely on the user's session as its results will be cached and sent to other users.
Starting from MW 1.28, this is enforced and a "Sessions are supposed to be disabled for this entry point" exception will be thrown if a session access is attempted.
See [[Special:MyLanguage/Manual:SessionManager and AuthManager/Updating tips#Exception "Sessions are supposed to be disabled for this entry point"|these tips]] on how to fix.

== Details ==


First it checks th<div class="mw-translate-fuzzy">
Zuerst prüft es die PHP v-Version, which must bdie {{MW stable php requirement}} oder higöher, and it includ sein muss und es {{ll|Manual:WebStart.php|WebStart.php}}. Next, it creates a {{class doclink|ResourceLoader}} object and calls its enthalten. Anschließend erstellt es ein [http://svn.wikimedia.org/doc/classResourceLoader.html <code>ResourceLoader</code>-Objekt] und ruft seine <code>respond()</code> m-Method, which outputs the specified resource contene auf, welche die angegebenen Ressourceninhalte ausgibt, eincluding a cschließlich eines Content-tType h-Headers.
</div>

A custom value for the location of the load.php script can be provided using <code>{{ll|Manual:$wgLoadScript|$wgLoadScript}}</code>.

[[Category:Entry point URLs{{#translation:}}]]