Mengubah Logo di MediaWiki

From OnnoWiki
Jump to navigation Jump to search
  • Buat gambar logo dengan
 dimensi 135x135 pixel
 format .png (format .gif dan .jpeg juga ok)


Upload ke Image

  • Upload ke
/var/www/html/wiki/images
  • Atur permission
cd /var/www/html/wiki/images
chmod 777 logo.jpeg
chown www-data.www-data logo.jpeg
  • Setup di LocalSettings.php adalah
$wgLogo = $wgScriptPath . '/images/logo.jpeg';

Upload ke Skin

  • Upload dan copykan ke
/var/www/html/wiki/skins/common/images
mkdir -p /var/www/html/wiki/skins/common/images
  • Ubah permission
cd /var/www/html/wiki/skins/common/images
chmod -Rf 777 logo.png
chmod -Rf nobody.nogroup logo.png
cp wiki.png wiki.png.alsi
cp logo.png wiki.png
  • Pastikan di LocalSettings.php
vi /var/www/html/wiki/LocalSettings.php 

ada

$wgLogo             = "$wgStylePath/wiki.png";


Pranala Menarik