Content-Length: 64399 | pFad | http://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgStylePath

Manual:$wgStylePath - MediaWiki Jump to content

Manual:$wgStylePath

From mediawiki.org
Server URLs and file paths: $wgStylePath
The URL of the skins directory.
Introduced in version:1.3.0
Removed in version:Still in use
Allowed values:(absolute path)
Default value:"{$wgScriptPath }/skins" (1.4+)

"{$wgScriptPath}/style" (1.3)

(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)

Details

[edit]

The URL of the skins directory. This is where MediaWiki tells the browser to get the styles from. 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.

See also

[edit]








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgStylePath

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy