Skip to content

Commit

Permalink
config: add scripts for Wiktionary's show/hide toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuowei committed Oct 16, 2022
1 parent 8b0529e commit cc9b4a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ const config = {
'mediawiki.page.gallery.styles',
'mediawiki.skinning.content.parsoid'].join('|'),
],
js: ['startup', 'jquery', 'mediawiki.base', 'site', 'mediawiki.util', 'mediawiki.page.ready'],
js: ['startup', 'jquery', 'mediawiki.base', 'site', 'mediawiki.util', 'mediawiki.page.ready',
'jquery.cookie', 'mediawiki.cookie', 'mediawiki.storage', 'ext.gadget.VisibilityToggles',
'ext.gadget.defaultVisibilityToggles'],
},

// Output directories for storing mw related js and css resources
Expand Down

0 comments on commit cc9b4a7

Please sign in to comment.