Steps to replicate the issue (include links if applicable):
- Make sure the uselivepreview preference is enabled.
- Enable a gadget such as Calculator, which is defined to only load on particular category's pages:
Calculator [ResourceLoader | default | categories = Pages using gadget Calculator ] | calculator.js |calculator.css
- Open a page in that category for source editing, e.g. https://en.wikipedia.org/w/index.php?title=Template:Body_roundness_index&action=edit
- Click "Preview" (next to the Publish button) to load a live preview of the page.
What happens?:
The calculator does not appear.
What should have happened instead?:
The calculator appears, just as in non-live preview.
Other information (browser name/version, screenshots, etc.):
The parse API should return ext.gadget.Calculator as one of the modules.