alistair3149
efac6f125a
feat(core): ✨ migrate sidebar menus to use RL icon module
2022-11-21 17:43:05 -05:00
alistair3149
7cff9e678b
feat(core): ✨ migrate ToC icon to use RL icon module
2022-11-21 17:43:04 -05:00
alistair3149
2d014694a6
feat(core): ✨ migrate misc icons to use RIL icon module
2022-11-21 17:43:03 -05:00
alistair3149
6e3727f8f3
feat(core): ✨ remove icons from navigation menu
...
It is weird that there are only a few links with icon.
Removing it temporarily until we have a better solution to apply icon to everything
2022-11-21 17:43:01 -05:00
alistair3149
dc77ae47bd
feat(core): ✨ migrate searchbox to use RL icon module
2022-11-21 17:43:00 -05:00
alistair3149
7eae7c6b14
feat(core): ✨ migrate sitestats to use RL icon module
2022-11-21 17:42:57 -05:00
alistair3149
b8ca3f8d72
feat(core): ✨ migrate views menu to use RL icon module
2022-11-21 17:42:54 -05:00
alistair3149
a2d0d31d2a
feat(core): ✨ migrate associated pages menu to use RL icon module
2022-11-21 17:42:52 -05:00
alistair3149
e1ebf8405f
refactor(core): ♻️ clean up page actions icons syntax
2022-11-21 17:42:51 -05:00
alistair3149
ea68ce0d25
feat(core): ✨ migrate user menu to use RL icon module
2022-11-21 17:42:46 -05:00
alistair3149
f2d1ab3d23
feat(core): ✨ migrate user menu to use RL icon module
2022-11-21 17:42:45 -05:00
alistair3149
87f920c812
feat(core): ✨ mark menus as supported
2022-11-21 17:42:31 -05:00
alistair3149
8dcb1f37fb
refactor(core): ♻️ replace reducemotion with core accessiblity module
2022-11-21 17:42:30 -05:00
alistair3149
cea6b98f1f
fix(core): 🐛 incorrect icon selector for view button
2022-11-21 17:42:25 -05:00
alistair3149
d4be254c89
refactor(core): ♻️ merge icon RL modules
2022-11-21 17:42:18 -05:00
alistair3149
9232c91352
feat(core): ✨ deprecate preconnect
...
Deprecating due to low usage. It was originally used for external assets
like analytics, but that should really be done through the extension instead
of the skin.
2022-11-21 17:42:16 -05:00
alistair3149
c15c1592e3
feat(core): ✨ smoother transition for ToC toggle states
2022-11-21 17:42:07 -05:00
alistair3149
a1ce408e43
feat(core): ✨ re-implement responsive toc
2022-11-21 17:42:05 -05:00
alistair3149
48173b6eb8
feat(core): ✨ add icon to back to top link
2022-11-21 17:41:58 -05:00
alistair3149
bc1dd38a12
feat(core): ✨ add back to top link to toc
2022-11-21 17:41:56 -05:00
alistair3149
3eaeaa15f7
refactor(core): ♻️ pre-work to allow Citizen to render ToC
2022-11-21 17:41:40 -05:00
alistair3149
7bd34caad5
style(core): 🎨 rename personal menu to user menu
2022-11-21 17:41:30 -05:00
alistair3149
7b311db1a6
refactor(core): ♻️ use user-menu template data instead
2022-11-21 17:41:13 -05:00
alistair3149
d78ffeadb4
refactor(core): ♻️ use core data for search box
2022-11-21 17:41:10 -05:00
alistair3149
2bc022aba2
feat(core): ✨ rename $wgCitizenSiteToolsPorlet
to $wgCitizenGlobalToolsPorlet
2022-11-21 17:40:54 -05:00
Jon Robson
409c9ad342
refactor(core): ♻️ drop deprecated legacy feature ( #437 )
...
From 1.39 the legacy feature is dropped.
In 1.40+ this might throw exceptions so wanted to make sure this is on
your radar (but likely not a priority since you are not supporting 1.38 yet).
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2022-11-21 17:40:37 -05:00
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
alistair3149
442f241641
feat(core): add language menu to page tools
...
In other language menu and language variant menu are merged into a singular menu
with a toggle in page tools. This is the first step towards having better language
handling in the skin.
2022-05-16 00:50:00 -04:00
alistair3149
6c6883bb11
feat(skinStyles): add skinStyles for Interwiki
2022-05-15 17:58:42 -04:00
alistair3149
d59ca5c83a
refactor(core): move intersection observer into a module
...
* We will likely use it for other things in the future
* Based on Vector's implementation
* Also do not get toc element twice
2022-05-13 00:26:53 -04:00
alistair3149
1a86f0f88b
chore(release): 1.16.1
2022-05-12 22:45:04 -04:00
alistair3149
ac28ef4651
fix(core): undefined toc script
2022-05-12 21:38:15 -04:00
alistair3149
508c96ae9d
refactor(core): merge ToC script into core scripts
2022-05-12 17:18:39 -04:00
alistair3149
c9514d99f3
fix(skinStyles): duplicated entry in skin.json
2022-05-11 18:46:35 -04:00
alistair3149
5614d2abdf
refactor(core): make api/ directory to use PSR-4 autoloading
...
Also make use of the correct namespace
2022-05-11 18:34:25 -04:00
alistair3149
3867f1588a
feat(skinStyles): add grade B support Wikibase ( #439 )
...
Add grade B support for Wikibase.
Wikibase is a massive extension with a lot of legacy styles and jquery dependencies.
There might be missing styles here and there for the initial implementation,
but it should work for now.
2022-05-11 18:01:43 -04:00
alistair3149
83c935e0f2
chore(release): 1.16.0
2022-05-10 13:43:19 -04:00
alistair3149
cae7deb945
refactor(core): clean up header icon styles
2022-05-10 11:59:43 -04:00
alistair3149
6e35212007
refactor(core): clean up search box implementation
...
* Clean up DOM structure
* Clean up HTML classes
* Use relative units
* Remove unnessecary CSS
2022-05-10 10:52:36 -04:00
alistair3149
5ccfbcfdeb
refactor(core): clean up drawer implementation
...
This is a part of the site header refactor
* Use relative units
* Add title to toggle button
* Remove unnessecary CSS
* Rewrite HTML classes
* Temporary remove drawer subsearch, it will be re-explored in a later patch
2022-05-10 10:52:36 -04:00
alistair3149
75cee0c3f4
feat(core): add missing user page icon
2022-05-06 12:47:28 -04:00
alistair3149
e5b01e805c
feat(skinStyles): add skinStyles for DiscussionTools
2022-05-06 12:22:36 -04:00
alistair3149
61d13a0f99
feat(skinStyles): add dark styles to source edit summary box
2022-05-02 21:53:37 -04:00
alistair3149
1587e82cd5
chore(release): 1.15.0
2022-05-01 22:55:37 -04:00
alistair3149
76a84d9e00
feat(core): add ARIA support to collaspible sections
...
* Also renamed toggle to indicator since it is misleading. The whole heading is the toggle itself.
2022-04-30 14:48:09 -04:00
alistair3149
0f381493f1
feat(skinStyles): tweak CookieWarning styles
...
* Add a 720px max width to the cookie banner so it does not span the whole page
* Remove border
2022-04-29 14:42:02 -04:00
alistair3149
7800f701c3
feat(skinStyles): update Lingo to grade B
2022-04-29 13:39:40 -04:00
alistair3149
774731bacf
chore(release): 1.14.1
2022-04-28 16:15:36 -04:00
alistair3149
13ed0f07fa
chore: fix incorrect version in skin.json
...
Somehow standard-release forgot to bump up the version in skin.json
2022-04-28 01:49:07 -04:00
alistair3149
da0174c17e
feat(skinStyles): update StructuredDiscussions to grade B
...
It should also fix all the error that comes with using Citizen with the extension
Closes #438
2022-04-27 18:53:06 -04:00
alistair3149
37efe85bb7
feat: allow scripts to run when MobileFrontend is active
2022-04-27 16:43:53 -04:00
alistair3149
f0b9879fbd
feat: add skinStyles for collapsible toggles in MobileFrontend
2022-04-27 16:27:12 -04:00
alistair3149
0177a06a22
feat: use wikiText icon for source edit when VE is present
...
* Use wikitext icon to indicate source edit instead of regular edit icon.
* Visual edit would now use regular edit icon
2022-04-27 13:12:59 -04:00
alistair3149
47e3e5c0ca
build: bump to 1.13.0
2022-04-25 22:33:35 -04:00
alistair3149
00f35a7fab
build: bump to 1.12.1
2022-04-25 02:04:57 -04:00
alistair3149
318ca23ad0
build: bump to 1.12.0
2022-04-23 01:32:50 -04:00
alistair3149
6217bad7c0
feat: implement RTL icons
2022-04-23 01:30:02 -04:00
alistair3149
6efff7f5da
feat: revamp drawer header
...
* wgLogo is always visible in the drawer
* Increase the size of wiki name
* Sitestats will now format large numbers into human readable formats (e.g. 12.2K, 3M, etc.)
* Sitestats now use icons instead of text as labels
* Remove wordmark for now, will revisit later
2022-04-23 01:30:02 -04:00
alistair3149
7ecf3a81eb
feat: depreciate theme preferences in MW user preferences
...
Just local storage is good enough
2022-04-19 17:31:23 -04:00
Lens0021
cebc35fd4b
feat: show footer desc and tagline in the content language ( #444 )
2022-04-17 12:23:43 -04:00
alistair3149
2eb4fe9a5f
build: bump to 1.11.0
2022-04-14 00:39:02 -04:00
Lens0021
5202ddbebe
feat: add styles for PortableInfobox ( #441 )
...
* feat: add styles for PortableInfobox
* Update ext.PortableInfobox.styles.less
* Update ext.PortableInfobox.styles.less
2022-04-14 00:36:33 -04:00
Lens0021
c0003c223a
feat: add styles for SimpleTooltip ( #426 )
2022-02-19 15:00:22 -05:00
alistair3149
4b671569d2
docs: update documentation on WSSerachFront extension
2021-12-15 22:16:56 -05:00
H. C. Kruse
b35e9c6c64
feat: add WSSearchFront skinStyles ( #411 )
2021-11-27 13:55:00 -05:00
alistair3149
42df59f2b4
refactor!: drop security header support
2021-08-31 13:20:51 -04:00
alistair3149
0c493f37da
feat: add skinstyles for Cargo main
2021-08-31 12:54:50 -04:00
alistair3149
9010957f40
build: bump to 1.10.0
2021-08-26 16:11:15 -04:00
alistair3149
f41c63a502
feat: add SyntaxHighlight skinStyles
2021-08-26 15:56:07 -04:00
alistair3149
86e48c7b73
feat: CodeMirror styles clean up
2021-08-25 16:32:07 -04:00
Calum Dingwall
d889cb91ab
feat: MsUpload styles
2021-08-25 16:32:07 -04:00
alistair3149
a244aa6d47
feat: update Echo skinStyles to grade A
2021-08-11 16:30:43 -04:00
alistair3149
933b0d2db8
build: bump to 1.9.5
2021-08-05 11:42:51 -04:00
alistair3149
f5a2a831d1
feat: add user customizable line height
2021-08-05 11:24:52 -04:00
alistair3149
36d550f134
feat: add skinStyles for Special:ListFiles ( #394 )
2021-07-30 23:00:53 -04:00
alistair3149
73f28c33dd
build: bump to 1.9.4
2021-07-29 22:48:50 -04:00
alistair3149
6ebe1c302f
feat: rework skinstyles for UniversalLanguageSelector extension
2021-07-29 22:45:30 -04:00
alistair3149
a9fce3b467
feat: add skinstyles for CleanChanges extension
2021-07-29 22:11:59 -04:00
alistair3149
9b2f291652
feat: add skinstyles for Babel extension
2021-07-29 22:09:36 -04:00
alistair3149
33624b636e
feat: rework skinstyles for Translate extension
2021-07-29 20:35:07 -04:00
alistair3149
aae08f0a73
feat: rewrite OOUI skinstyles to the new system
2021-07-27 02:13:22 -04:00
alistair3149
8861b4e567
build: bump to 1.9.3
2021-07-25 19:18:41 -04:00
alistair3149
692cc19825
build: bump to 1.9.2
2021-06-21 20:53:55 -04:00
alistair3149
e2e5f62ca7
feat: add TabberNeue styles
2021-06-21 20:50:25 -04:00
alistair3149
5347f86585
build: bump to 1.9.1
2021-06-20 02:13:55 -04:00
alistair3149
354e994529
build: bump to 1.9.0
2021-06-09 15:00:40 -04:00
alistair3149
19119f2b5d
feat: add auto theme to preferences
2021-06-09 14:40:44 -04:00
alistair3149
ac06d312d3
feat: bump MediaWiki requirement to 1.35.2
...
Nessecary as SkinModule features are not supported before 1.35.2
2021-06-09 13:51:17 -04:00
alistair3149
5fcba674ba
feat: avoid loading unnessecary features
2021-06-09 13:49:55 -04:00
alistair3149
906cfd88ba
feat: add styles for mediawiki.notification
2021-05-18 21:13:59 -04:00
alistair3149
580f80bacc
build: bump to 1.8.1
2021-05-18 12:29:38 -04:00
alistair3149
d23358f7df
build: bump to 1.8.0
2021-05-17 17:13:55 -04:00
alistair3149
c43e5279dd
feat: remove lazyload modules
...
It is replaced by the core config `$wgNativeImageLazyLoading`
2021-05-17 16:55:11 -04:00
alistair3149
b2bd79196d
feat: rework search module ( #386 )
...
* feat: rewrite search module (WIP)
There are some caveats because it is a WIP
- Messages are not i18n yet
- Missing placeholder suggestion thumbnail
- Only REST mode works
- Missing greeting message when there is no search query
- Code might look like a mess (I learned JS not long ago)
* refactor: remove old search module
* feat: clean up search suggestion styles
* feat: hide overflow for suggestion text
* feat: add action API and various cleanup
* feat: re-add abort controller
* feat: add message support and tweaks
* feat: use virtual config instead of ResourceLoader hook
* fix: missing comma in const definition
* feat: add ARIA attributes
2021-05-17 16:34:14 -04:00
alistair3149
9654003259
build: bump to 1.7.4
2021-05-13 09:56:44 -04:00
alistair3149
4b0eb98477
build: bump to 1.7.3
2021-05-10 12:15:42 -04:00
alistair3149
ac2ed38183
feat: unify header button highlight hover state ( #363 )
2021-05-10 12:00:04 -04:00
alistair3149
87756194fb
feat: add icon and text for addsection action ( #368 )
2021-05-05 13:08:37 -04:00
alistair3149
c74b6f955e
build: bump to 1.7.2
2021-05-04 13:35:07 -04:00
alistair3149
28419d4006
build: bump to 1.7.1
2021-04-28 12:10:35 -04:00
alistair3149
bd8cbe29ea
build: bump to 1.7.0
2021-04-27 13:51:33 -04:00