Extension:MwEmbedSupport

From MediaWiki.org
(Redirected from Extension:MwEmbed)
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
MwEmbedSupport

Release status:Extension status stable

ImplementationTemplate:Extension#type Media
DescriptionTemplate:Extension#description Adds support for mwEmbed modules and extensions
Author(s)Template:Extension#username Michael Dale
Latest versionTemplate:Extension#version 0.3.0 (2014-04-02)
PHPTemplate:Extension#php 5.4+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ParametersTemplate:Extension#parameters
  • $wgMwEmbedResourceLoaderFileModule
Hooks usedTemplate:Extension#hook
BeforePageDisplayManual:Hooks/BeforePageDisplay
ResourceLoaderGetStartupModulesManual:Hooks/ResourceLoaderGetStartupModules
ResourceLoaderRegisterModulesManual:Hooks/ResourceLoaderRegisterModules
ResourceLoaderGetConfigVarsManual:Hooks/ResourceLoaderGetConfigVars

Translate the MwEmbedSupport extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The MwEmbedSupport extension adds support for mwEmbed modules and extensions. It was previously known as JS2Support. This extension solely supports other extensions (such as TimedMediaHandler).

Installation[edit]

  • Download and place the file(s) in a directory called MwEmbedSupport in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'MwEmbedSupport' );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.27 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.27 and earlier), instead of wfLoadExtension( 'MwEmbedSupport' );, you need to use:

require_once "$IP/extensions/MwEmbedSupport/MwEmbedSupport.php";