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

       Web browser: ---
             Bug #: 29177
           Summary: TimedMediaHandler / MwEmbedSupport's extension setup
                    files define, execute functions
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: TimedMediaHandler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
            Blocks: 27699
    Classification: Unclassified


TimedMediaHandler.php contains this bit:

// Register the Timed Media Handler javascript resources ( MwEmbed modules ) 
MwEmbedResourceManager::register(
'extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer' );
MwEmbedResourceManager::register(
'extensions/TimedMediaHandler/MwEmbedModules/TimedText' );

which relies on the class being set up and ready to execute via earlier code.

Defining and then using classes & functions in the setup files is dangerous and
I think may interfere with HipHop compatibility.

-- 
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