Catégorie: Wiki

From B0WSER : base de connaissances
Revision as of 16:45, 14 June 2019 by B0WSER (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Modules intéressants à activer :

https://www.mediawiki.org/wiki/Extension:WikiEditor

Installer le cache LiteSpeedtech :

  1. Activer sur l'interface hébergeur côté serveur.
  2. Installer sur le CMS :

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:mediawiki#download


URL Rewriting :

Base d'informations : https://www.mediawiki.org/wiki/Manual:Short_URL/fr

Base d'information pour NGinx : https://www.mediawiki.org/wiki/Manual:Short_URL/Nginx

Generateur de configuration : https://shorturls.redwerks.org

RewriteRule index.php/(.*) $1 [QSA,R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php

Changer le nom "main page" :

how to change it

What you need to do is re-educate your wiki by telling it where your real main page is. This parameter is kept in a special Mediawiki configuration page called "Mediawiki:Mainpage".

All we have to do is edit this special page and change the setting.

   Go to your wiki's current (lame) main page, which is called "Main Page".
   Use the Move tab to change your main page's name to the name you prefer.
   When the page refreshes, you'll see a parenthetical "Redirected from" message below the page's title. Click on the Main Page link to visit the redirection page.
   Click on the "Edit" link.
   Locate the title parameter in the URL.
   Replace this with "Mediawiki:Mainpage". Confirm that the new URL should look something like this:
       http://sharkysoft.com/wiki/index.php?title=Mediawiki:Mainpage&action=edit
   Load new URL. You should see an editor for the special page, with no contents other than the name of your current main page.
   Replace the content with the title of your improved main page.
   Press Save page.

That's it! You're done. If you want to keep your wiki tidy, you should also go back to your old "Main Page" article and delete it. If you've already added content to your old main page, you may also want to

Modifier le fichier LocalSettings.php

   $wgUseImageMagick = false;


modifier le fichier LocalSettings.php

   $wgFavicon = "$wgScriptPath/favico.ico";