MediaWiki
Révision datée du 5 janvier 2010 à 15:06 par 193.252.202.136 (discussion) (Nouvelle page : Désactiver nofollow ([http://www.homelandstupidity.us/2005/05/23/nofollow-revisited/ pourquoi]): $wgNoFollowLinks = false; Extension ConfirmEdit: <pre> require_once "$IP/extension...)
Désactiver nofollow (pourquoi):
$wgNoFollowLinks = false;
Extension ConfirmEdit:
require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php"; # Defaut configuration: #$wgGroupPermissions['*' ]['skipcaptcha'] = false; #$wgGroupPermissions['user' ]['skipcaptcha'] = false; #$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false; #$wgGroupPermissions['bot' ]['skipcaptcha'] = true; // registered bots #$wgGroupPermissions['sysop' ]['skipcaptcha'] = true; #$wgAvailableRights[] = 'skipcaptcha'; #$wgCaptchaTriggers['edit'] = false; // Would check on every edit #$wgCaptchaTriggers['create'] = false; // Check on page creation. #$wgCaptchaTriggers['addurl'] = true; // Check on edits that add URLs #$wgCaptchaTriggers['createaccount'] = true; // Special:Userlogin&type=signup #$wgCaptchaTriggers['badlogin'] = true; // Special:Userlogin after failure #$wgCaptchaClass = 'SimpleCaptcha'; require_once "$IP/extensions/ConfirmEdit/QuestyCaptcha.php"; $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaQuestions[] = array( 'question' => "Le mot magique?", 'answer' => "S'il te plaît" ); $wgCaptchaQuestions[] = array( 'question' => "Année de couronnement de Charlemagne?", 'answer' => "800" );
Empêcher la création de compte et les modifications anonymes (doc):
$wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['edit'] = false;
Puis modifier MediaWiki:Loginprompt