Skip to content

Commit

Permalink
Merge pull request #1701 from openzim/wiktionary-show-hide-script
Browse files Browse the repository at this point in the history
Hardcoded list of gadget resources to import
  • Loading branch information
kelson42 authored Dec 31, 2022
2 parents 2c97de0 + dcb6150 commit ac7b217
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ 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',

// Gadget resources are not shared by Parsoid API https://phabricator.wikimedia.org/T161278
'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 ac7b217

Please sign in to comment.