Commit graph

4161 commits

Author SHA1 Message Date
github-actions ec944e258c ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-18 04:05:36 +00:00
alistair3149 9556c0256d
build: release 2.39.2 (#973) 2024-11-17 23:05:14 -05:00
alistair3149 daef66f141
fix(core): 🐛 use mw.requestIdleCallback for polyfill
Safari does not support rIC yet and MW has a polyfill for that.
2024-11-17 01:12:02 -05:00
github-actions a5b536d821 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-16 08:55:44 +00:00
alistair3149 1cfddc22ff
build: release 2.39.1 (#972) 2024-11-16 03:55:16 -05:00
alistair3149 afffbfd6f5
chore: 🔧 release 2.39.1
Release-As: 2.39.1
2024-11-16 03:54:18 -05:00
alistair3149 027778709b
docs(TabberNeue): 📚️ fix incorrect date 2024-11-16 03:48:34 -05:00
alistair3149 6a70ae459c
feat(TabberNeue): update styles for Extension:TabberNeue 2024-11-16 03:47:06 -05:00
translatewiki.net b947fbcd11
Localisation updates from https://translatewiki.net. 2024-11-14 13:10:54 +01:00
alistair3149 34c9ae5fd4
fix(speculationRules): 🐛 stricter selector to pages to prerender 2024-11-13 19:24:45 -05:00
github-actions 6f46ce8f25 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-13 23:49:20 +00:00
alistair3149 0ccbead397
build: release 2.39.0 (#971) 2024-11-13 18:48:58 -05:00
alistair3149 368ceb659a
feat(speculationRules): add basic implementation of Speculation Rules API
This is a basic implementation of Speculation Rules API that will prerender
any page under article path when the user hovers on the link for over 200ms.
2024-11-13 18:46:02 -05:00
alistair3149 3073f52a61
feat(PWA): add support for description field 2024-11-13 18:23:40 -05:00
alistair3149 79c0e453d3
feat(PWA): add support for short_name field 2024-11-13 18:20:54 -05:00
alistair3149 586cf2c002
feat(PWA): merge all PWA config into wgCitizenManifestOptions 2024-11-13 18:17:17 -05:00
alistair3149 6690263d7e
feat(PWA): sync meta and manifest theme colors with skin default 2024-11-13 18:03:45 -05:00
alistair3149 4e09e3e3e3
refactor(serviceWorker): ♻️ early exit if wiki is not in root 2024-11-13 17:59:31 -05:00
alistair3149 71aada9d12
fix(PWA): 🐛 don't save icon if no sizes are detected 2024-11-13 17:59:13 -05:00
alistair3149 dcce74a583
fix(PWA): 🐛 add missing use class 2024-11-12 22:38:18 -05:00
alistair3149 0c3786c754
perf(share): ️ prerender the HTML for the share button
Instead of doing it in JS, just render it altogther in the HTML
2024-11-12 22:36:59 -05:00
alistair3149 57942075cc
feat(PWA): fallback to clipboard share if Web Share API is not supported 2024-11-12 22:26:03 -05:00
alistair3149 5436cc46da
feat(PWA): allow custom icons definition with wgCitizenManifestIcons 2024-11-12 22:05:04 -05:00
github-actions 536c9d2e61 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-13 02:15:08 +00:00
alistair3149 28970f6867
fix(PWA): 🐛 revert to old behavior to fix missing icons in manifest 2024-11-12 21:14:34 -05:00
alistair3149 b78df56695
fix(toc): 🐛 fix clipping toc on desktop 2024-11-12 20:20:26 -05:00
alistair3149 937b3c7f5e
fix(preferences): 🐛 add missing padding to pref card 2024-11-12 20:16:33 -05:00
alistair3149 76a39eafdf
perf(preferences): ️ rewrite to use dropdown component
Dropdown + Menu component are already doing the same thing.
We can just extend those and drop all the custom handling
2024-11-12 20:13:47 -05:00
alistair3149 9556478443
perf(core): ️ defer background main scripts with requestIdleCallback 2024-11-12 18:48:03 -05:00
alistair3149 5431d1499a
refactor(core): ♻️ refactor sticky header element styles 2024-11-12 18:47:35 -05:00
alistair3149 5975e51f58
perf(stickyHeader): ️ use transition instead of position secondary sticky elements 2024-11-12 01:57:21 -05:00
alistair3149 98e6c2d7f1
fix(stickyHeader): 🐛 VE should use the same methods to handle sticky header state 2024-11-09 18:22:52 -05:00
alistair3149 571e9edd7a
fix(mediawiki): 🐛 fix incorrect gallery layout 2024-11-08 22:07:11 -05:00
alistair3149 d4d6345050
perf(stickyHeader): ️ only recalc stickyHeader height when width changes 2024-11-08 21:24:56 -05:00
alistair3149 252e98b085
perf(stickyHeader): ️ improve responsiveness for sticky header 2024-11-08 04:58:11 -05:00
alistair3149 ba5d0a7f92
refactor: ♻️ drop i18n-all-lists-margins styles
It is replaced by logical properties
2024-11-07 21:52:45 -05:00
alistair3149 3c39d6bbf5
refactor(core): ♻️ use CSS logical properties for elements 2024-11-07 21:51:08 -05:00
alistair3149 8280509517
refactor(core): ♻️ use CSS logical properties for shorthands 2024-11-07 21:39:00 -05:00
alistair3149 82d413f8ff
refactor(core): ♻️ remove IntersectionObserver fallback
Following Vector deprecation
2024-11-07 21:12:50 -05:00
alistair3149 2d7b03604a
refactor(core): ♻️ use margin-inline instead of left and right 2024-11-07 21:10:39 -05:00
alistair3149 8819757913
fix(stickyHeader): 🐛 do not reset stickyHeader when page title is visible
There is no need to trigger sticky header when page title is visible.
2024-11-07 21:10:39 -05:00
github-actions fc29af3478 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-08 01:54:15 +00:00
alistair3149 a74d17e130
perf(stickyHeader): ️ improve scroll performance 2024-11-07 20:53:21 -05:00
alistair3149 94936732ec
refactor(core): ♻️ clean up scroll direction observer 2024-11-07 20:33:56 -05:00
alistair3149 30fca942a7
perf(core): ️ move sticky header handling to observers 2024-11-07 19:12:48 -05:00
alistair3149 3b8022c3c1
refactor(core): ♻️ set up scroll direction observer in setupObservers
This is needed for centralizing the observers.
2024-11-07 19:12:48 -05:00
alistair3149 241ef66893
perf(core): ️ move window.resize to resizeObserver 2024-11-07 19:12:48 -05:00
translatewiki.net 7ac27f1c30
Localisation updates from https://translatewiki.net. 2024-11-07 13:09:27 +01:00
github-actions 1ec5e3593b ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-06 19:12:03 +00:00
alistair3149 3d7948103c
build: release 2.38.3 (#970) 2024-11-06 14:11:36 -05:00