YouTubeModal

YouTube Modal is a modal window that opens up when a YouTube link is clicked. It replaces the original link to the YouTube video page.

Import
Add a new line into MediaWiki:ImportJS dev:YouTubeModal/code.js

importScriptPage('MediaWiki:YouTubeModal/code.js','dev');