alistair3149
8793a243c3
feat(core): ✨ rewrite body layout into flex and grid
2022-11-21 17:41:42 -05:00
alistair3149
3eaeaa15f7
refactor(core): ♻️ pre-work to allow Citizen to render ToC
2022-11-21 17:41:40 -05:00
alistair3149
a31babc297
refactor(core): ♻️ drop polyfill related to user menu
2022-11-21 17:41:20 -05:00
alistair3149
d234ece146
feat(core): ✨ put non-header elements into a container
...
Just more sanity and easier to customize header
2022-11-21 17:41:03 -05:00
alistair3149
4aa59d5c14
style(core): 🎨 shorten variable name
2022-11-21 17:41:01 -05:00
alistair3149
4c9aa17bb2
refactor(core): ♻️ drop footer mustache fallback
2022-11-21 17:40:56 -05:00
alistair3149
fdd5c0dd2a
feat(core): ✨ add an aria-labelledby attribute to #bodyContent
...
Related: T312818
2022-11-21 17:40:51 -05:00
alistair3149
61e8d053c4
feat(core): ✨ move sitenotice out of mw-body
...
site notice is not related to the body/article
2022-10-01 16:15:40 -04:00
alistair3149
9de7a1d4b2
feat(core): ✨ move catlinks to body footer
2022-10-01 16:07:37 -04:00
alistair3149
4d7fecc299
refactor(core): clean up polyfilled Mustache template data
...
Clean up Mustache-related polyfill for 1.35 against 1.39,
in preparation of the 1.39 refactor
2022-05-26 17:33:59 -04:00
alistair3149
1df970eb41
feat(core): intergrate firstHeading changes from MW 1.39
...
* It is a temporary backport until we move to minimum 1.39
* Add support for blanking title introduced from 1.38
2022-05-21 16:24:35 -04:00
alistair3149
595c748eba
refactor(core): decouple content header from skin.mustache
2022-05-15 20:55:13 -04:00
alistair3149
e0d5eb9657
feat(core): set toc-enabled through Mustache template
...
Since somewhere around MW 1.37, buildSkinFeatures() no longer have access to OutputPage.
That causes $out->isTOCenabled always return null, which makes ToC
broken for any wikis since 1.37. This should fix the issue for now.
More optimizations on the loading behavior will come soon.
2022-05-12 17:01:01 -04:00
alistair3149
44f9bc0a7c
feat(core): style parenthesis text in FirstHeading differently
...
Parenthesis text in FirstHeading are commonly used for disambiguation purposes
Therefore it does not have to be as prominent as the title
2022-05-07 00:45:51 -04:00
alistair3149
8bca28662b
feat: remove mw-body-content from HTML
...
T279388
mw-body-content is used within body content in 1.37. The original mw-body-content container will use the class citizen-body instead.
2021-07-30 11:44:02 -04:00
alistair3149
bc59fb82aa
refactor: clean up footer functions
2021-06-20 02:03:43 -04:00
alistair3149
57405796f0
feat: remove mw-body-content from site notice
...
mw-body-content should only be used for article content, see T279388 for relevant discussions
2021-05-20 01:57:00 -04:00
alistair3149
bd3eac63bb
refactor: move Mustache templates to root directory
2021-04-09 11:47:48 -04:00