Commit graph

42 commits

Author SHA1 Message Date
alistair3149 aeed04b860
feat(core): add toolbox icon for CreateRedirect 2023-01-05 01:12:56 -05:00
alistair3149 323acda0b1
feat(core): add icon to all talk page buttons
Talk page keys in the associated page array can vary based on namespace.
This commit will match keys end with 'talk' and match them to the speechBubble icon.
2022-12-01 22:34:29 -05:00
alistair3149 8710a2b905
feat(core): add icon support for some extensions in toolbox 2022-11-21 17:47:21 -05:00
github-actions 224c117f65
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:47:03 -05:00
alistair3149 cdb213d8b4
refactor(core): ♻️ only append class instead of replacing it 2022-11-21 17:47:02 -05:00
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
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 f5a2a831d1
feat: add user customizable line height 2021-08-05 11:24:52 -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
Hannes 24a2a38b4b
feat: Convert hooks to HookHandler interface 2021-01-28 12:46:27 +01:00