Topic on Skin talk:Vector

Folder to rest.api

3
Summary by Tacsipacsi
176.134.90.110 (talkcontribs)

Bonjour,

Nous utilisons la dernière version de Vector pour mediawiki 1.38.0-wmf.13 de mediawiki et tout fonctionne, sauf la barre de recherche principale.

En effet, nous installation est directement dans le répertoire principale, mais il semble que vector appel :

mysite/w/rest.php

Au lieu de

mysite/rest.php

Savez-vous comment résoudre ce problème pour faire fonctionner la barre de recherche (celle de mobilefrontend fonctionne elle normalement)?

Cordialement.

Tacsipacsi (talkcontribs)

Unfortunately it’s not possible in new Vector yet, see phab:T288686. You can temporarily switch back to the old Vector by setting $wgVectorDefaultSkinVersion = '1'; in your LocalSettings.php, or try setting a symlink named w in your wiki root directory (ln -s w, if you have shell access and the server runs some sort of Linux). I couldn’t get the latter work, though, probably it would require some .htaccess magic that I don’t have.

176.134.90.110 (talkcontribs)

Hello,

Thank you for your lead, I just modified directly the :

wvui-search.commonjs2.js and wvui-commonjs2.js

And it works :)

Kims

Reply to "Folder to rest.api"