Split content discovery into individual templates
- Replace content discovery template with 5 individual templates (Featured article, In the news, Did you know, On this day, Featured picture)
- Add CSS flex layout via
templatestyles - Register Main Page styles.css as helper template
- Sort modules into canonical display order (discovery → community → footer)
- Discovery modules render as 2-2-1 (rows of 2, featured picture full-width)
- Community + Translation render as 2-col when both selected, full-width when single
- Ensure CSS template pages are created with sanitized-css content model so
<templatestyles>can load them - Strip
<templatestyles>tags in preview and inject CSS as inline<style>blocks - Add publish confirmation dialog with warning before editing live wiki
Bug: T420418