Handbuch:$wgStylePath

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgStylePath and the translation is 60% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎العربية • ‎فارسی • ‎中文 • ‎日本語
Skins: $wgStylePath
Die URL des Themenverzeichnisses.
Eingeführt in Version:1.3.0
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(absoluter Pfad)
Standardwert:"{$wgScriptPath }/skins" (seit 1.4.0)
"{$wgScriptPath}/style" (vor 1.4.0)
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)
Andere Einstellungen: Alphabetisch | Nach Funktion

Details

Die URL des Themenverzeichnisses. Von hier sagt MediaWiki dem Browser voher er die Stile laden soll. This settings became less important or - depending on setup and the skin used - it even became useless for MediaWiki 1.17+, where styles are generally loaded through ResourceLoader modules.

For wiki families with multiple languages, it may be a good idea to set this URL, in all your wiki languages, to just one directory or server. That way the browser will only have to load the CSS once for every wiki.
If you change where on your filesystem the skins directory is, you may also have to change $wgStyleDirectory . $wgStylePath only controls where the browser gets the styles from, not where MediaWiki looks for the style files.


Siehe auch