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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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