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 authored and kelson42 committed Dec 31, 2022
1 parent 2c97de0 commit d2abf57
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 d2abf57

Please sign in to comment.