Endre logo i MediaWiki
Fra NettSkred Wiki
- Create an image for your logo with dimensions of 135x135 pixels.
- The recommended format for the image is .png, but other formats like .gif or .jpeg are also ok. Please note that if you upload image with different dimensions it may not be displayed.
- Last opp bildet i mappen /images i wiki løsningen. Dette trenger du en FTP konto for.
- Ta kopi av filen LocalSetting.php på rota
- Åpne filen og legg inn følgende linje (hvis den ikke alt finnes): $wgLogo = "/images/logo.png";
- Husk at du må ha store og små bokstaver korrekt! NB! viktig å huske semikolon til slutt - hvis ikke vil det ikke virke! Du vil da bare se en blank side - uten feilmelding!
- If you have followed the instructions above and you still do not see your logo, please make sure that in the LocalSettings.php the image upload is allowed.
To do this open the LocalSettings.php file and change the line
$wgEnableUploads = false;
to
$wEnableUploads = true;
NB: It is possible to simply overwrite the default logo installed with MediaWiki, but this is strongly advised against, as an upgrade may end up overwriting it or change the default location of this file.
If you are not a programmer and have problems changing the MediaWiki logo, ask your host for assistance. NettSkred hjelper deg gjerne!
