Ticket #300 (reopened defect)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by tmitchell

  • status changed from new to closed
  • resolution set to fixed

Changed 3 years ago by tmitchell

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 3 years ago by jidanni

  • keywords captcha added; catcha removed
  • summary changed from wiki captcha error to wiki 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.

Note: See TracTickets for help on using tickets.