Last modified: 2011-01-24 11:02:51 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 T27917, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25917 - PHP 5.3 features used
PHP 5.3 features used
Status: CLOSED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticFormsInputs (Other open bugs)
unspecified
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: s7eph4n
http://svn.wikimedia.org/viewvc/media...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-14 08:53 UTC by Jeroen De Dauw
Modified: 2011-01-24 11:02 UTC (History)
2 users (show)

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


Attachments

Description Jeroen De Dauw 2010-11-14 08:53:41 UTC
I just noticed that a bunch of nameless functions are used in SFI_Inputs.php, which will cause errors for everyone that doesn't have PHP >=5.3. I guess this is something that was not intentional, so is a bug...
Comment 1 Neill Mitchell 2010-12-24 16:28:17 UTC
+1 vote for this. I can't upgrade my live servers to PHP 5.3 due to numerous other dependencies.

It's not always a good idea to use the latest and greatest code features for stable products ;)

Hopefully this is easy to sort out.

Thanks.
Neill.
Comment 2 Neill Mitchell 2010-12-24 19:36:07 UTC
Please note Mediawiki's minimum install spec:

PHP version 5.1 or later (5.2.x recommended).

So 5.3 only dependencies should be avoided.

Cheers
Neill.
Comment 3 Jeroen De Dauw 2010-12-24 19:53:46 UTC
I just had a go at fixing this (see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/78976). Neill: can you confirm the stuff still works?
Comment 4 s7eph4n 2010-12-30 18:13:40 UTC
Fixed in r79270
Comment 5 Neill Mitchell 2011-01-24 11:02:51 UTC
Thanks a lot! Appreciated :)

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


Navigation
Links