Topic on Extension talk:ContactPage

Dependancy to ConfirmEdit extension

6
Summary by Raphoraph

Patched in the last version for MW 1.35.

Raphoraph (talkcontribs)

Hi, the extension fails if you don't use the ConfirmEdit extension : on includes/SpecialContact.php(478), GlobalVarConfig->get(string) fails (ConfigException) to fetch the captcha's settings as they do not exist. On our wiki, we use instead the antispam extension, and we must add

$wgCaptchaClass = "";
$wgCaptchaTriggers = [];

to make the ContactPage work even though we don't have ConfirmEdit enabled.

Would it be possible for you to fix it (just for example checking that the two variables are defined/catching the exception thrown by GlobalVarConfig.php) ?

Best regards,

BDavis (WMF) (talkcontribs)
Raphoraph (talkcontribs)

Yes, it is exactly that, thanks ! So I need to wait next version ?

BDavis (WMF) (talkcontribs)

The fix is currently included in the master branch tarball. The patch looks like it could probably be backported to the 1.35 branch too which would probably be nicer for folks who are trying to use stable branches.

BDavis (WMF) (talkcontribs)

> The patch looks like it could probably be backported to the 1.35 branch too which would probably be nicer for folks who are trying to use stable branches.

It has already been backported and merged, so just downloading a new copy of the 1.35 tarball should fix your issues.

Raphoraph (talkcontribs)

Oh, I didn't check the new version before posting my message... in fact I've had the problem before this patch but I've posted this note only 5 days ago. Thanks, I will download it and make the update, and tell if it works.