Difference between revisions of "Mengubah Logo di MediaWiki"

From OnnoWiki
Jump to navigation Jump to search
 
Line 12: Line 12:
 
  /var/www/html/wiki/images
 
  /var/www/html/wiki/images
  
* Setup di LocalSettings.php adalah
+
* Atur permission
 
 
$wgLogo = $wgScriptPath . '/images/mylogo.png';
 
  
 +
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 ke Skin==

Latest revision as of 05:22, 3 April 2016

  • 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