Topic on Extension talk:ConfirmEdit

Current Documentation Would Throw an Error

3
69.123.84.73 (talkcontribs)

In the ConfirmEdit page it states this:

// If your MediaWiki version is 1.25 or higher, use this line:

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);

This is incorrect, using an array in wfLoadExtensions would throw an array->string conversion and on top of that it won't work. However, passing "ConfirmEdit/QuestyCaptcha" as a string in the function does work fine. Does it mean actually "1.25 or LOWER" or is this misdocumentation?

69.123.84.73 (talkcontribs)

Nevermind, I didn't see the // Else use these lines: part.

机智的小鱼君 (talkcontribs)

Delete

wfLoadExtensions('ConfirmEdit']);

Then add

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
Reply to "Current Documentation Would Throw an Error"