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/common/images
+
  /var/www/html/wiki/skins/common/images
 +
 
 +
mkdir -p /var/www/html/wiki/skins/common/images
  
 
* Ubah permission
 
* Ubah permission
  
  cd /var/www/wiki/skins/common/images
+
  cd /var/www/html/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
Line 18: Line 20:
 
* Pastikan di LocalSettings.php  
 
* Pastikan di LocalSettings.php  
  
  vi /var/www/wiki/LocalSettings.php  
+
  vi /var/www/html/wiki/LocalSettings.php  
  
 
ada
 
ada

Revision as of 05:12, 3 April 2016

  • Buat gambar logo dengan
 dimensi 135x135 pixel
 format .png (format .gif dan .jpeg juga ok)
  • 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