Last modified: 2012-11-06 03:09:32 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 T43708, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41708 - TimedMediaHandler causes PHP strict standards warnings
TimedMediaHandler causes PHP strict standards warnings
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Michael Dale
: newphp
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-02 19:50 UTC by Kevin Israel (PleaseStand)
Modified: 2012-11-06 03:09 UTC (History)
2 users (show)

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


Attachments

Description Kevin Israel (PleaseStand) 2012-11-02 19:50:34 UTC
Viewing the description page of a newly uploaded Ogg Theora video, I get these messages from PHP 5.4 when error_reporting = E_ALL (in PHP 5.3, E_ALL | E_STRICT would be necessary):

Strict standards: Declaration of OggHandlerTMH::unpackMetadata() should be compatible with TimedMediaHandler::unpackMetadata($image, $metadata) in /home/ki/Projects/mediawiki/extensions/TimedMediaHandler/handlers/OggHandler/OggHandler.php on line 5

Strict standards: Non-static method TimedMediaThumbnail::tryOggThumb() should not be called statically in /home/ki/Projects/mediawiki/extensions/TimedMediaHandler/TimedMediaThumbnail.php on line 15

The former also seems to apply to Mp4Handler and WebMHandler.

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


Navigation
Links