Commit graph

377 commits

Author SHA1 Message Date
alistair3149 e2891016b7
chore(core)!: 💥 🔧 bump MediaWiki requirement to 1.39.0 2022-11-21 17:40:25 -05:00
alistair3149 6a57ccc192
chore(release): 🚀 2.0.0-beta.4 2022-11-21 17:37:11 -05:00
alistair3149 0f7294fc42
chore(release): 🚀 2.0.0-beta.3 2022-10-27 23:04:42 -04:00
alistair3149 b89873d99c
feat(fonts): add Noto Sans CJK font support
This is by default disabled since it is only used for wikis with CJK language,
and also it adds around 100kb to the startup stylesheet. The fonts are subsetted
with Google Fonts slicing pattern, so it should be performance friendly
2022-10-27 16:53:12 -04:00
alistair3149 f1fb5537c9
feat(AJAXPoll): add skinStyle for AJAXPoll (#487) 2022-10-25 14:55:39 -04:00
alistair3149 4f651b41ca
feat(pwa): add basic support for service worker
This is super basic and experimental.
It will be expanded upon in the future, but for now it will satisfy the
requirement for PWA
2022-10-23 16:37:43 -04:00
alistair3149 140f1d6e12
chore(release): 🚀 2.0.0-beta.2 2022-10-22 19:01:41 -04:00
alistair3149 fa1ae98497
feat(smw): revamp SMW skinStyles (#532)
Update to grade A
2022-10-21 13:44:15 -04:00
alistair3149 c727f9e4c2
chore(release): 🚀 2.0.0-beta.1 2022-10-05 19:23:22 -04:00
alistair3149 0d1dc9d29d
chore(release): 🚀 2.0.0-beta.0 2022-10-02 12:13:09 -04:00
alistair3149 e80e6be35d
chore(release): 🚀 2.0.0-alpha.2 2022-10-01 19:37:56 -04:00
alistair3149 aaad2bb92a
feat(core): move footer info into body footer
They are related to the article/page instead of the whole site
2022-10-01 17:25:20 -04:00
alistair3149 4902ae76ab
feat(core): redesign site footer
last modified and copyright message are not implemented yet.
they will be integrated into body content since they are not global.
2022-10-01 15:06:57 -04:00
alistair3149 89916b32aa
chore(release): 🚀 2.0.0-alpha.1 2022-09-30 11:28:23 -04:00
alistair3149 acfb89640b
chore(release): 🚀 2.0.0-alpha.0 2022-09-29 20:40:15 -04:00
alistair3149 6de95d4fec
feat(core): redesign site header (#521)
Change header into vertical header for large screen and bottom header for small screen.
2022-09-29 19:12:56 -04:00
alistair3149 c5ff5dd57f
chore(release): 1.17.9 2022-09-28 17:34:38 -04:00
Nathan Kuenzig 8c6cdc4c29
feat(skinStyles): add Math skinStyles (#502)
* Create Extension:Math styles

* Added ext.math.styles

* Added Extension:Math as Grade E

I'm not sure how to accomplish this without using LESS variables.  CSS variables don't seem to work with the `.recolor()` mixin.

* Added Stack Overflow link
2022-08-21 12:42:48 -04:00
alistair3149 1bf51fc472
chore(release): 1.17.8 2022-07-16 13:40:31 -07:00
alistair3149 e53afa51dc
fix(core): config CitizenThemeDefault should set theme correctly
Previously the config did set the theme correctly but get overridden by the inline
script to auto, this will fix it.

Closes: #418
2022-06-29 15:29:44 -04:00
alistair3149 38c560d0af chore(release): 1.17.7 2022-06-21 16:24:38 -04:00
alistair3149 f03697f309
feat(skinStyles): add skinStyles for ManageWiki extension 2022-06-16 16:51:07 -04:00
alistair3149 64f7e18837
fix(skinStyles): dismiss button in CentralNotice should be on top 2022-06-16 16:40:03 -04:00
alistair3149 00e1f57bad
feat(core): add config to use numberformatter without disabling sitestats
Add the ability to disable numberformatter independently from sitestats
Due to an upstream issue, numberforrmatter can throw an exception in some
instances (#474). This will help to mitigate the issue.
2022-06-14 15:56:03 -04:00
alistair3149 4f64564f70 chore(release): 1.17.6 2022-06-07 19:09:42 -04:00
alistair3149 e4eaffdf1a chore(release): 1.17.5 2022-06-02 12:59:43 -04:00
alistair3149 d7d512c6d4 feat(skinStyles): add grade B support for RevisionSlider 2022-06-02 12:58:15 -04:00
alistair3149 2853a05d8f
fix(skinStyles): move personal menu ULS button styles to the right module 2022-06-02 12:39:54 -04:00
alistair3149 a20e0dc5b2
fix(core): define template path in constructor instead
1.35 seems to not like relative path inside skin.json
2022-06-02 11:07:55 -04:00
alistair3149 828f9f7c95 chore(release): 1.17.4 2022-05-26 18:27:14 -04:00
alistair3149 09e3aeb2ea
refactor(core): remove unnessecary ConfigRegistry 2022-05-26 18:23:47 -04:00
alistair3149 53ef5f0543
refactor(core): use core responsive mode for MW 1.36+
Use core responsive mode for MW 1.36+, and polyfill for MW 1.35
2022-05-26 18:12:08 -04:00
alistair3149 c49b8a8594
refactor(core): define templateDirectory in skin.json instead 2022-05-26 18:05:21 -04:00
alistair3149 ba87e4dcba fix(core): invalid class name for RL config callback 2022-05-26 18:00:08 -04:00
alistair3149 11c50a5669
refactor(core): remove redundant message keys 2022-05-26 17:57:57 -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 58d85ff426 refactor(core): normalize PHP namespaces used in Citizen
Related: T303102
2022-05-26 16:58:14 -04:00
alistair3149 0a0456db97
fix(skinStyles): incorrect file path for DiscussionTools 2022-05-24 17:56:14 -04:00
alistair3149 f89cc6ba05 chore(release): 1.17.3 2022-05-23 16:12:32 -04:00
alistair3149 a5c52e48b7
feat(core): indicate when search results are from redirects
For REST API, search results will now indicate if they are from redirects.
The current implementation is that it will always show up, the logic to
trim redundant info will come later

Related: T303013
2022-05-20 19:10:36 -04:00
alistair3149 da619c793b
refactor(core): remove duplicated auto theme handling
Refactor auto theme handling into inline script since theme.js is basically duplicated code
at this point. Also add the event listener whenever auto theme is set.

Closes: #461
2022-05-20 17:33:10 -04:00
alistair3149 851356f3d9
feat(core): rename $wgCitizenPortalAttach to $wgCitizenSiteToolsPortlet
The previous name was not self-explanatory.
2022-05-18 19:54:08 -04:00
alistair3149 64ffd3642b chore(release): 1.17.2 2022-05-18 19:49:15 -04:00
alistair3149 082b70f7e5
refactor(core): clean up drawer code
* Make it a bit more readable
* Define function return type
* Change default of CitizenPortalAttach to an empty string
* Site tools now attach to the first portlet when CitizenPortalAttach is empty
2022-05-18 19:43:50 -04:00
alistair3149 be4c711d12 chore(release): 1.17.1 2022-05-17 22:21:46 -04:00
alistair3149 1be7f5faaf refactor(core): rewrite ToC scrollspy based on Vector 2022-05-17 15:11:16 -04:00
alistair3149 f38422d97a chore(release): 1.17.0 2022-05-17 11:18:12 -04:00
alistair3149 95e48b13d5
feat(skinStyles): update ULS styles
Updated to MLEB 2021.12, the last version that supports MW 1.35
2022-05-17 10:57:50 -04:00
alistair3149 615bd98d81
refactor(core): remove citizen-theme-toggle message
It is no longer used.
2022-05-16 18:16:09 -04:00
alistair3149 c6e9bc44a9 feat(core): use checkboxHack for page actions more menu
* use checkboxHack for the menu
* streamline language and more action menu styles and classes
2022-05-16 18:14:35 -04:00