mediawiki-skins-Vector/resources/skins.vector.legacy.js/skin-legacy.js
Peter Ovchyn 7b8bad23f2 Vector manages search functionality and provides config flag
Add onSkinPageReadyConfig hook that overrides module after page loaded
The new module is currently empty pending further work in the
feature branch.

Depends-On: I0dc38e74052027f26a70d58b5f520e5830e0d55d
Bug: T257706
Change-Id: Ib6c8f890fb3d6e751f5f01a6576614b9cc9b440c
2020-08-04 00:06:31 +00:00

15 lines
383 B
JavaScript

/** @interface MediaWikiPageReadyModule */
var
collapsibleTabs = require( './collapsibleTabs.js' ),
/** @type {MediaWikiPageReadyModule} */
pageReady = require( /** @type {string} */( 'mediawiki.page.ready' ) ),
vector = require( './vector.js' );
function main() {
collapsibleTabs.init();
$( vector.init );
pageReady.loadSearchModule( 'mediawiki.searchSuggest' );
}
main();