« Utilisateur:Jd/tmp » : différence entre les versions
mAucun résumé des modifications |
|||
Ligne 1 : | Ligne 1 : | ||
== | == Local filesystem location == | ||
jd@plop [/var/www] | jd@plop [/var/www] |
Version du 18 août 2009 à 01:36
Local filesystem location
jd@plop [/var/www] $ ll mediawiki/ total 604 ... my mediawiki directory
Skins are thus located in mediawiki/skins/
.
Web location
Local access to the wiki is at http://localhost/mediawiki/.
The online version is at http://bepo.fr/wiki/ and this MediaWiki is installed in a wiki/
directory in the server.
Inside a skin
If one writes something like
<script type="text/javascript" src="/mediawiki/extensions/jquery/jquery-1.3.2.min.js"></script>
it works locally but fails online for the mediawiki
directory does not exist on the server.
If one writes instead
<script type="text/javascript" src="/wiki/extensions/jquery/jquery-1.3.2.min.js"></script>
it happens to work both online (correct path) and locally.
Question: is "wiki" interpreted as a generic placeholder in some way by MediaWiki, checking where the real root is when it reads "/wiki/" in some paths like the previous examples?