https://bugzilla.wikimedia.org/show_bug.cgi?id=41708

       Web browser: ---
             Bug #: 41708
           Summary: TimedMediaHandler causes PHP strict standards warnings
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: TimedMediaHandler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to