Wikia/app — pull request #411 by hyunlim (2013-02-01 00:23:01+00:00)
Title: VET Decoupling, Addition, Refactoring, and Integration

Decoupling:
VET has been decoupled from the editor, so that it can be placed anywhere on the site, independent of the editor.

Additions:
One of the things that were added was how VET is launched, because the way the VET was launched, place it was launched from, and the behavior of VET were varied depending on the situation. There are few configurations that can be set to launch VET, mainly, the start screen selection, and callbacks to receive the output of VET.

Refactoring:
The refactoring work was done to make the decoupling, additions, and integrations easier. This mainly involved removal of unused code (there were quite many), and replacement of YUI with jQuery. We mostly tried to keep the existing business logic intact, regardless of how weird it was, and kept the scope to pure technological refactoring, unused code removal, and de-duplication.

Integration:
Previously, there was a simple url input dialog when videos were being added. The newly updated VET is now in the places where the previous dialog was. All Videos are now added via the newly updated VET.

Other notes:
VET might be a misnomer now, since there are two phases to VET: Searching, and embed option select. VET was originally for embed option select as the name implies (Video Embed Tool).