Difference between revisions of "MediaWiki - Proteksi Spammer Menggunakan ConfirmEdit"

From OnnoWiki
Jump to navigation Jump to search
Line 10: Line 10:
 
  mkdir /var/www/wiki/extensions/ConfirmEdit
 
  mkdir /var/www/wiki/extensions/ConfirmEdit
 
  mv ConfirmEdit-MW1.16-r62678.tar.gz /var/www/wiki/extensions/ConfirmEdit/
 
  mv ConfirmEdit-MW1.16-r62678.tar.gz /var/www/wiki/extensions/ConfirmEdit/
 +
cd /var/www/wiki/extensions/ConfirmEdit/
 +
tar zxvf ConfirmEdit-MW1.16-r62678.tar.gz
 +
mv ConfirmEdit/* .
  
 +
Edit
  
    * Create a folder in the extensions folder named ConfirmEdit
+
vi /var/www/wiki/LocalSettings.php  
    * Move the files to the extensions/ConfirmEdit/ folder
 
    * Edit LocalSettings.php in the root of your MediaWiki installation, and add the following line near the bottom:
 
 
 
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
 
 
 
Note: ConfirmEdit may not work if it's used with a MediaWiki version different from the one it's downloaded as via the "Extension distributor".
 
[edit]
 
 
 
 
 
  
 +
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
 +
$wgCaptchaClass = 'SimpleCaptcha';
  
 
==Referensi==
 
==Referensi==

Revision as of 11:16, 22 February 2011

Download

http://www.mediawiki.org/wiki/Special:ExtensionDistributor/ConfirmEdit
http://upload.wikimedia.org/ext-dist/ConfirmEdit-MW1.16-r62678.tar.gz

Lakukan

wget http://upload.wikimedia.org/ext-dist/ConfirmEdit-MW1.16-r62678.tar.gz
sudo su
mkdir /var/www/wiki/extensions/ConfirmEdit
mv ConfirmEdit-MW1.16-r62678.tar.gz /var/www/wiki/extensions/ConfirmEdit/
cd /var/www/wiki/extensions/ConfirmEdit/
tar zxvf ConfirmEdit-MW1.16-r62678.tar.gz 
mv ConfirmEdit/* .

Edit

vi /var/www/wiki/LocalSettings.php 
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
$wgCaptchaClass = 'SimpleCaptcha';

Referensi

Pranala Menarik