Mediawiki youtube plugin

From Notes_Wiki

Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Mediawiki youtube plugin

To configure youtube plugin for a mediawiki installation use following steps:

  1. Download the youtube plugin (YouTube-REL1_25-a12beaa.tar.gz) from https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_name=YouTube&extdist_version=REL1_25&extdist_submit=
  2. Extract the downloaded source YouTube-REL1_25-a12beaa.tar.gz
  3. Move extracted youtube folder to /var/www/html/<wiki>/extensions/
  4. Edit /var/www/html/LocalSettings.php and add the below mentioned code
    require_once "$IP/extensions/YouTube/YouTube.php";

Test by adding something similar to:

<youtube>https://www.youtube.com/watch?v=VyBSS48E4xI</youtubev

to any page and click "Show preview" to verify whether plugin is working as expected or not.



Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Mediawiki youtube plugin