Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -96,6 +96,7 @@ |
97 | 97 | 'specialpage' => 'Special pages', |
98 | 98 | 'parserhook' => 'Parser hooks', |
99 | 99 | 'variable' => 'Variables', |
| 100 | + 'media' => 'Media handlers', |
100 | 101 | 'other' => 'Other', |
101 | 102 | ); |
102 | 103 | wfRunHooks( 'SpecialVersionExtensionTypes', array( &$this, &$extensionTypes ) ); |
Index: trunk/extensions/OggHandler/OggHandler.php |
— | — | @@ -19,11 +19,21 @@ |
20 | 20 | // Bump this when updating OggPlayer.js to help update caches |
21 | 21 | $wgOggScriptVersion = '1'; |
22 | 22 | |
23 | | -$wgFFmpegLocation = 'ffmpeg'; |
24 | 23 | $wgExtensionMessagesFiles['OggHandler'] = "$oggDir/OggHandler.i18n.php"; |
25 | 24 | $wgParserOutputHooks['OggHandler'] = array( 'OggHandler', 'outputHook' ); |
26 | 25 | $wgHooks['LanguageGetMagic'][] = 'OggHandler::registerMagicWords'; |
| 26 | +$wgExtensionCredits['media'][] = array( |
| 27 | + 'name' => 'OggHandler', |
| 28 | + 'author' => 'Tim Starling', |
| 29 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:OggHandler', |
| 30 | + 'description' => 'Handler for Ogg Theora and Vorbis files, with JavaScript player.', |
| 31 | +); |
27 | 32 | |
| 33 | +/******************* CONFIGURATION STARTS HERE **********************/ |
| 34 | + |
| 35 | +// Location of the FFmpeg binary |
| 36 | +$wgFFmpegLocation = 'ffmpeg'; |
| 37 | + |
28 | 38 | // Filename or URL path to the Cortado Java player applet. |
29 | 39 | // |
30 | 40 | // If no path is included, the path to this extension's |