Last modified: 2011-04-30 01:20:43 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 T22430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20430 - PHP 5.3.0 Depricated Line in SpecialUpload.php
PHP 5.3.0 Depricated Line in SpecialUpload.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.15.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: newphp
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-28 20:39 UTC by The Masked Ferret
Modified: 2011-04-30 01:20 UTC (History)
1 user (show)

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


Attachments

Description The Masked Ferret 2009-08-28 20:39:55 UTC
In SpecialUpload.php, on Line 1501 is the line: if (eregi("<!DOCTYPE *X?HTML",$chunk)) return true; 
can be replaced with the line : if (preg_match("/<!DOCTYPE *X?HTML/i",$chunk)) return true; to do the same function but without the PHP deprecation error.
Comment 1 Alexandre Emsenhuber [IAlex] 2009-08-28 20:45:05 UTC
This was already fixed in r53658.

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


Navigation
Links