Steps to replicate the issue (include links if applicable):
- Start editing a page
- Replace the content with <inputbox>type=create</inputbox> or <span class="mw-ui-button">Foo</span>
- Click "Preview" on the 2010 toolbar or (if live preview is enabled in Preferences) "Show preview"
What happens?:
The button is not stylized.
What should have happened instead?:
The button appears as it would after saving.
Other information (browser name/version, screenshots, etc.):
Running mw.loader.load('mediawiki.ui.button') in browser console makes the button appear as expected.