Difference between revisions of "Mengubah Logo di MediaWiki"

From OnnoWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
   dimensi 135x135 pixel
 
   dimensi 135x135 pixel
 
   format .png (format .gif dan .jpeg juga ok)
 
   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
 
* 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 41:
 
* Pastikan di LocalSettings.php  
 
* Pastikan di LocalSettings.php  
  
  vi /var/www/wiki/LocalSettings.php  
+
  vi /var/www/html/wiki/LocalSettings.php  
  
 
ada
 
ada
Line 39: Line 62:
 
* [[MediaWiki - Proteksi Spammer Menggunakan ConfirmEdit]]
 
* [[MediaWiki - Proteksi Spammer Menggunakan ConfirmEdit]]
 
* [[MediaWiki - Proteksi Spammer Menggunakan wgSpamRegex]]
 
* [[MediaWiki - Proteksi Spammer Menggunakan wgSpamRegex]]
* [[Script Re-Install SpeedyWiki]]
+
* [[Script Re-Install SpeedyWiki]] '''*PENTING*'''
* [[Script Re-Install SpeedyWiki di Ubuntu 10.04]]
+
* [[Script Re-Install SpeedyWiki di Ubuntu 10.04]] '''*PENTING*'''
 
* [[Update SpeedyWiki lokal secara automatis]]
 
* [[Update SpeedyWiki lokal secara automatis]]
 
* [[Update database SpeedyWiki lokal secara automatis tanpa update Image]]
 
* [[Update database SpeedyWiki lokal secara automatis tanpa update Image]]

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