Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 680 Bytes
Here is the config used to setup a server in WMF mode.
Note that in this example, we target the Italian Wikipedia.
$wgUseTidy = true; // Enable Tidy
$wgUseAjax = true; // Enable Ajax (needed for voting)
#$wgWikiTrustGadget = "gadget-WikiTrust";
$wgWikiTrustLog = "/tmp/{$wgDBname}-trust.log";
$wgWikiTrustDebugLog = "/tmp/{$wgDBname}-trust-debug.log";
$wgWikiTrustVersion = "wmf";
$wgWikiTrustContentServerURL = "http://it.collaborativetrust.com/WikiTrust/RemoteAPI";
$wgWikiTrustApiURL = "http://it.wikipedia.org/w/api.php";
$wgWikiTrustShowMouseOrigin = true;
require( $IP . "/extensions/WikiTrust/WikiTrust.php" );
$wgWikiTrustDebugVerbosity = WIKITRUST_DEBUG;