Sumit added a comment. The problem is the stylesheet ins't being added on viewing the preview. This is probably due to the fact that BeforePageDisplay hook is adding the stylesheet, which runs just before the page is displayed. On saving the page, stylesheet adds. I'll look into if the styles can be added even on preview.
TASK DETAIL https://phabricator.wikimedia.org/T100983 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Sumit Cc: Nicolas_Raoul, Aklapper, Wikidata-bugs, aude, Lydia_Pintscher _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs