Opened 16 years ago

Closed 11 years ago

#300 closed defect (fixed)

wiki captcha error: preg_match Unknown modifier 'p' in EditPage.php

Reported by: lbecchi Owned by: webcom@…
Priority: normal Milestone:
Component: WebSite Keywords: captcha wiki
Cc: webcom@…

Description

often, mostly when external url are present in the content, the editing of the wiki page requires the captcha even if already confirmed.

on top of the page is visible a PHP warning:

<b>Warning</b>: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Unknown modifier 'p' in <b>/var/www/mediawiki-1.11.0/includes/EditPage.php</b> on line <b>645</b><br />

when editing massively it starts to be a problem to add captcha to every

commit.

I don't have access to that php page so I can't analyze the bug.

Change History (4)

comment:1 by tmitchell, 16 years ago

Resolution: fixed
Status: newclosed

comment:2 by tmitchell, 16 years ago

Resolution: fixed
Status: closedreopened

comment:3 by jidanni, 16 years ago

Keywords: captcha added; catcha removed
Summary: wiki captcha errorwiki captcha error: preg_match Unknown modifier 'p' in EditPage.php

Whoever has power to upgrade the wiki to a new version has power to see that file. Also that file is just a standard MediaWiki file that does not get customized by any program.

Anyway, there are lots of Google results for the keywords in the error message... must be a common problem.

Anyway, in my wikis, I don't load up on the extensions, (but as my wikis are Chinese, I just filter on "no Chinese? must be spam"...)

Also reported in Bug #318.

comment:4 by arnulf, 11 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.