« Utilisateur:Jd/tmp » : différence entre les versions

De Disposition de clavier bépo
mAucun résumé des modifications
mAucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
avec du texte devant tout ça éééééééééééééééééééééééééé <span class="touche" style="display: inline; background: #E4E4E4; color: black;">[[#|Ctrl<em><span></span>Cette touche est associée à un clavier Azerty</em>]]</span> et du texte après iu,i e, i,ci ,c it, i,ei,it,c ict,ic, tc citc,tic, bfb te ec,t,  bvcps,c er atecit ,ti,c iere itc uiat,cisu ,,ci ,ti,ctiu  petci tcit ,iutciute tc,tiuc tic,a i,tv citictciu  icetcie tictiec ut  itce t tceti ,tic ,tiautemzbceksm  bt,i'. etk tcs,ce  uec
== Local filesystem location ==


iecit,c e,cte,cet,cteic, ic,  eic e ctc cuitce embr tes b cistec itcit,c =po, itc itn ketic te wb= evd etoc tit eic e
  jd@plop [/var/www]
$ ll mediawiki/
total 604
... my mediawiki directory
 
Skins are thus located in <code>mediawiki/skins/</code>.
 
Local access to the wiki is at <nowiki>http://localhost/mediawiki/</nowiki>.
 
== Web location ==
 
The online version is at <nowiki>http://bepo.fr/wiki/</nowiki> and this MediaWiki is installed in a <code>wiki/</code> 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 <code>mediawiki</code> 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?
 
'''Answer''': actually it works if you forgot to delete an old backup you did store under a <code>wiki</code> directory… *bash*
Well that's a trick anyway to work on different structure: symbolic links :)

Dernière version du 18 août 2009 à 02:44

Local filesystem location

jd@plop [/var/www]
$ ll mediawiki/
total 604
... my mediawiki directory

Skins are thus located in mediawiki/skins/.

Local access to the wiki is at http://localhost/mediawiki/.

Web location

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?

Answer: actually it works if you forgot to delete an old backup you did store under a wiki directory… *bash* Well that's a trick anyway to work on different structure: symbolic links :)