Last modified: 2007-06-03 02:58:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12114, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10114 - 22664 on Mediawiki 1.6.10 throws T_BOOLEAN_AND error
22664 on Mediawiki 1.6.10 throws T_BOOLEAN_AND error
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
ConfirmEdit (CAPTCHA extension) (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-02 23:04 UTC by Jerry Cornelius
Modified: 2007-06-03 02:58 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jerry Cornelius 2007-06-02 23:04:30 UTC
I obtain the latest ConfirmEdit like so:

svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ConfirmEdit/
A    ConfirmEdit/MathCaptcha.php
A    ConfirmEdit/ConfirmEdit.i18n.php
A    ConfirmEdit/FancyCaptcha.i18n.php
A    ConfirmEdit/ConfirmEdit.php
A    ConfirmEdit/FancyCaptcha.php
A    ConfirmEdit/captcha.py
A    ConfirmEdit/MathCaptcha
Checked out revision 22664.

I make no customizations.

I make the appropriate change in LocalSettings.php:

require_once( "{$IP}/extensions/ConfirmEdit/ConfirmEdit.php" );

I point Firefox 2.0.0.4 to the wiki's main page and get the following error message:

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting '(' in /home/.petula/multiverse/public_html/wiki/extensions/ConfirmEdit/ConfirmEdit.php on line 320

With my limited knowledge of PHP, I toyed around with parens to no avail.  I conducted extensive research to try to resolve this myself.  It seems MediaWiki has changed something underneath this extension.  I have not tried to see if this extension works on earlier versions of MediaWiki.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-03 02:58:46 UTC
Current versions of extensions may not be compatible with older versions of MediaWiki.  Please do not reopen unless you can confirm it doesn't work on trunk (which it obviously does since it's running on Wikipedia).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links