Special:Badtitle/NS275:YouTube

So we have this widget now, but apparently it's not seamless with the old  syntax. This has to be used as. Is there any way to, like, write an extension to convert that on-the-fly? Or are we going to have to run a bot replace on it? &mdash;Dr Ishmael 23:35, 30 November 2010 (UTC)

I had to revert mendel's edit because it appears that the widget extension only recognizes &lt;noinclude> and &lt;includeonly>, but not &lt;onlyinclude>. This meant that his version was causing a &lt;pre> element to be transcluded around the YouTube video, which was not desirable.

I also implemented width and height paramters, so that e.g. this works properly again. They default to 425 and 355 when not provided. &mdash;Dr Ishmael 02:16, 8 December 2010 (UTC)