Commit graph

61 commits

Author SHA1 Message Date
alistair3149 eecd21db76
feat(core): add icon for Email this user 2023-07-06 15:02:14 -04:00
沈澄心 2891d042cc
fix(core): skin preference support for Safari on iOS < 12.2 (#680)
* Update skins.citizen.preferences.js

* Update skins.citizen.preferences.js

* Update inline.js

* Update SkinHooks.php

* Update skins.citizen.preferences.less

* Update variables.less

* Update theme.less

* Update theme.less

* Update skins.citizen.preferences.js

* Update skins.citizen.preferences.js

* Update skins.citizen.preferences.js

* Update skin.js
2023-07-03 08:48:41 -04:00
github-actions 2c5539900c ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-12 02:13:23 +00:00
沈澄心 e771c728e1
fix(core): add menu icons for "Special pages" and "Upload file" (#664)
* Update SkinHooks.php

* Update Drawer.php

* Update skin.json
2023-06-11 22:12:50 -04:00
Simon Stier 2e3e5feb9b
feat(search): add SMW Ask API as search backend option (#625)
* feat: add SMW Ask API as search backend option
* feat: allow namespace prefix in smw ask query
2023-05-18 13:57:43 -04:00
Simon Stier a7b99d11f0
feat(core): add config var 'wgCitizenTableNowrapClasses' (#621)
* add config var 'wgCitizenTableNowrapClasses'
* refactor: load config via require
2023-05-18 13:53:58 -04:00
alistair3149 90890de53f
feat(core): add config flag to disable preferences menu 2023-03-27 14:08:38 -04:00
alistair3149 015b1e1b9a
fix(core): 🐛 respect config flag for default theme
This should fix the issue where CitizenThemeDefault is not working
2023-03-20 12:21:46 -04:00
alistair3149 b04b46d957
feat(core): add icon for urlshortener 2023-02-16 23:50:48 -05:00
alistair3149 3ec84349b1
feat(core): add support for user-interface-preferences menu
This should also fix the issue of ULS not showing up (#587, #425).
2023-02-15 18:38:02 -05:00
alistair3149 a7406d8e32
fix(core): 🐛 default to auto theme unless set 2023-01-20 20:18:58 -05:00
alistair3149 aeed04b860
feat(core): add toolbox icon for CreateRedirect 2023-01-05 01:12:56 -05:00
alistair3149 203b0b42c3
feat(search): add MediaSearch to typeahead 2022-12-14 10:28:45 -05:00
alistair3149 391266c0a7
feat(core): allow the use of custom search suggestion module
defines the search suggestion ResourceLoader module
used by the skin. It deprecates the  config
2022-12-02 17:59:45 -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
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