Difference between revisions of "Mengubah Logo di MediaWiki"

From OnnoWiki
Jump to navigation Jump to search
Line 6: Line 6:
 
* Upload dan copykan ke
 
* Upload dan copykan ke
  
  /var/www/wiki/skins
+
  /var/www/wiki/skins/common/images
  
 
* Ubah permission
 
* Ubah permission
  
  cd /var/www/wiki/skins
+
  cd /var/www/wiki/skins/common/images
 
  chmod -Rf 777 logo.png
 
  chmod -Rf 777 logo.png
 
  chmod -Rf nobody.nogroup logo.png
 
  chmod -Rf nobody.nogroup logo.png
 +
cp wiki.png wiki.png.alsi
 +
cp logo.png wiki.png
  
* Edit LocalSettings.php  
+
* Pastikan di LocalSettings.php  
  
 
  vi /var/www/wiki/LocalSettings.php  
 
  vi /var/www/wiki/LocalSettings.php  
  
  $wgLogo            = "$wgStylePath/logo.png";
+
ada
 +
 
 +
  $wgLogo            = "$wgStylePath/wiki.png";
  
  

Revision as of 06:43, 20 February 2012

  • Buat gambar logo dengan
 dimensi 135x135 pixel
 format .png (format .gif dan .jpeg juga ok)
  • Upload dan copykan ke
/var/www/wiki/skins/common/images
  • Ubah permission
cd /var/www/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/wiki/LocalSettings.php 

ada

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


Pranala Menarik