alistair3149
ab1981d24b
feat(core): ✨ migrate VE editsection to WMUI icon module
2022-11-21 17:47:00 -05:00
alistair3149
5c375bb71d
refactor(core): ♻️ use the same code pattern for SkinEditSectionLinks
2022-11-21 17:46:58 -05:00
alistair3149
2ec7da29a5
docs(core): 📚 ️ add Phabricator task number
2022-11-21 17:46:57 -05:00
github-actions
92e6cfa733
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-21 17:46:55 -05:00
alistair3149
e69a74ca29
refactor(core): ♻️ migrate editsection link to WMUI icon module
2022-11-21 17:46:54 -05:00
github-actions
f7094d1a72
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-21 17:46:50 -05:00
alistair3149
b6defbfb3c
feat(core): ✨ add missing page tool icons
2022-11-21 17:46:49 -05:00
alistair3149
f1a85d705a
docs(core): 📚 ️ add notes on extension icon issue
2022-11-21 17:43:17 -05:00
alistair3149
68c199d1e9
refactor(core): ♻️ handle VE merged edit buttons better
2022-11-21 17:43:16 -05:00
alistair3149
bcd62e5491
refactor(core): ♻️ remove unused variables
2022-11-21 17:43:13 -05:00
alistair3149
4b79b95d15
fix(core): 🐛 remove debug message
2022-11-21 17:43:11 -05:00
alistair3149
b3c2b2f10f
feat(core): ✨ add missing user talk icon
2022-11-21 17:43:08 -05:00
github-actions
9eeca3619a
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-21 17:43:07 -05:00
alistair3149
efac6f125a
feat(core): ✨ migrate sidebar menus to use RL icon module
2022-11-21 17:43:05 -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
github-actions
0059c2c2ff
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-21 17:42:48 -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
5c962ca22f
refactor(core): ♻️ use new ResourceLoader namespace
...
Related: T308718
2022-11-21 17:41:38 -05:00
github-actions
0c7c795484
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-21 17:41:35 -05:00
alistair3149
6ab486b82e
feat(core): ✨ add styles for temp user in user menu
2022-11-21 17:41:33 -05:00
alistair3149
bb27f801bd
docs(core): 📚 ️ add draft comments on user menu refactor
2022-11-21 17:41:31 -05:00
alistair3149
a31babc297
refactor(core): ♻️ drop polyfill related to user menu
2022-11-21 17:41:20 -05:00
github-actions
6be1cb3571
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-21 17:41:15 -05:00
alistair3149
7b311db1a6
refactor(core): ♻️ use user-menu template data instead
2022-11-21 17:41:13 -05: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
58d85ff426
refactor(core): normalize PHP namespaces used in Citizen
...
Related: T303102
2022-05-26 16:58:14 -04:00
alistair3149
97282a30ba
docs: address various phpcs warnings and errors
2022-05-22 15:12:05 -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
2c79c061c4
feat: pass styles as style element instead of inline
2022-04-25 20:34:40 -04:00
alistair3149
047f830d1a
fix: FOUC of light theme when user is using auto theme and prefer dark
...
The prefer-dark script was previously deferred which causes a delay to detect and switch theme for the user. It is now inlined to prevent the delay.
2022-04-19 18:17:53 -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
alistair3149
f5a2a831d1
feat: add user customizable line height
2021-08-05 11:24:52 -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
1a636e788a
fix: inline script should not be loaded on other skins ( #376 )
2021-05-08 12:41:59 -04:00
alistair3149
51ac47691e
feat: implement reading preferences
...
allow visitor to adjust theme, font size, and page width
2021-04-27 13:51:03 -04:00
alistair3149
abffe590b5
refactor: remove cookie theme for local storage
...
Co-authored-by: H. C. Kruse <6594492+octfx@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-04-05 14:24:18 -04:00
alistair3149
f8dbbe01a8
fix: move inline theme script into hook
...
Co-authored-by: Hannes Kruse <hannes@octofox.de>
2021-04-05 09:56:44 -04:00
alistair3149
062cdd91a1
feat: add option to use REST API as search suggestion source
...
Co-authored-by: Hannes <hannes@octofox.de>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-12 14:25:32 -05:00
alistair3149
77edd0145a
feat: add experimental caching for search suggestion
2021-03-11 20:26:01 -05:00
Hannes
24a2a38b4b
feat: Convert hooks to HookHandler interface
2021-01-28 12:46:27 +01:00