[Mediawiki-l] pb installing cpatcha on 1.5

FxParlant f-x.p at laposte.net
Mon Oct 17 16:59:18 UTC 2005


I know this is a plugin thema, nevertheless, maybe someone has succeeded
 this install.

I'm in the EditPage.php, inside the Editform function

		if ( 'save' == $formtype ) {

/* Modified FXP */
//$comment_code = $_POST['code'];  // AuthImage in mediawiki 1.3

// declared function importFormData
//as $this->authImageCode = $request->getText( 'code'  );
$comment_code = $this->authImageCode;

if ( !checkAICode($comment_code) && !$wgUser->isAllowed('userrights') )
//die( 'Error: please enter the valid authorization code.');
die( 'Error: please enter the valid authorization
code.'.$comment_code."+".checkAICode($comment_code)."+".$_SESSION['veriword']);


If someone has any comment on this, don't hesitate, even a clue is
better than nothing :-)

François





More information about the MediaWiki-l mailing list