While trying to preview a page after adding babel box using the [[ https://www.mediawiki.org/wiki/Extension:Babel | babel extension ]] on a page that hasn't used it before, the styles for the babel box aren't loaded. This happens only with the //visual// wikitext editor. The old wikitext editor doesn't have this issue.
**Steps to reproduce**
1. Go to [[https://en.wikipedia.org/wiki/User:Kaartic/sandbox | this sandbox page]]
2. Edit it as source
3. Paste the following line into it `{{#babel:en}}`
4. See the preview
**Expected output**
The babel box is shown with appropriate styles in the preview.
**Actual output**
The styles are shown only after saving the page. //Note// : Don't save the sandbox page as a continuation of the steps to reproduce, for this reason!
**Screen shot**
{F8588627}
//Note// : If this persists, I'm sure that not many would use the babel extension after seeing a preview a like that!