mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +00:00
967965b260
This copies the Vector 2022 hook approach and applies it to legacy Vector. Bug: T342814 Change-Id: I382bfa3b25f4814fbf627856fa5957f7e50bf8a8
18 lines
496 B
JavaScript
18 lines
496 B
JavaScript
/* eslint-disable no-jquery/no-jquery-constructor */
|
|
/** @interface MediaWikiPageReadyModule */
|
|
const
|
|
collapsibleTabs = require( './collapsibleTabs.js' ),
|
|
/** @type {MediaWikiPageReadyModule} */
|
|
pageReady = require( /** @type {string} */( 'mediawiki.page.ready' ) ),
|
|
portlets = require( './portlets.js' ),
|
|
vector = require( './vector.js' );
|
|
|
|
function main() {
|
|
collapsibleTabs.init();
|
|
$( vector.init );
|
|
portlets.main();
|
|
pageReady.loadSearchModule( 'mediawiki.searchSuggest' );
|
|
}
|
|
|
|
main();
|