mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 00:50:08 +00:00
7b8bad23f2
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
15 lines
383 B
JavaScript
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();
|