Commit graph

599 commits

Author SHA1 Message Date
alistair3149 8883326d84
build: release 2.17.2 (#873)
* build: release 2.17.2

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-06-12 13:03:31 -04:00
alistair3149 7b5f6b455d
build: release 2.17.1 (#872)
* build: release 2.17.1

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-06-11 19:21:51 -04:00
alistair3149 f5e9891079
fix(overflow): 🐛 expand blocklist for nowrap as some tables contain the wikitable class 2024-06-11 19:21:21 -04:00
alistair3149 a03cf84bf0
build: release 2.17.0 (#868)
* build: release 2.17.0

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-06-11 18:11:56 -04:00
alistair3149 1f817b2a5e
build: release 2.16.1 (#865)
* build: release 2.16.1

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-06-06 15:19:47 -04:00
alistair3149 e372c4b733
fix(hooks): 🐛 add missing article page icon on talk pages
Fixes: #867
2024-06-06 14:43:34 -04:00
alistair3149 e33098a65e
build: release 2.16.0 (#857)
* build: release 2.16.0

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-06-01 15:56:53 -04:00
alistair3149 a2d3159def
feat(core): replace checkbox hack with details and summary
Note that ToC is still using the old checkbox hack, it will be replaced in a later time.
Related: T333394
2024-05-30 02:20:13 -04:00
alistair3149 83ab221408
feat(core): only handle wikitable instead of all tables
Wikis use tables in creative ways and it is probably just safer to only apply it to wikitables.
Might revisit if there are any news from T330527.
2024-05-29 17:47:13 -04:00
alistair3149 92fda3114e
build: release 2.15.1 (#856)
* build: release 2.15.1

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-27 23:19:20 -04:00
alistair3149 1b4159051b
build: release 2.15.0 (#853)
* build: release 2.15.0

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-27 18:05:24 -04:00
alistair3149 974e6b2750
feat(core): add config to change overflow inherited classes 2024-05-27 17:16:23 -04:00
alistair3149 c1582a8ddc
fix(core): 🐛 update overflow config name in skin.json 2024-05-27 15:56:47 -04:00
alistair3149 7a4d43392d
perf(core): ️ remove scroll eventListener and resizeObserver on tables when not needed
Also started to refactor the table script to be more generic for overflow elements.
2024-05-27 15:47:53 -04:00
alistair3149 45ee5f897c
feat(TabberNeue): add init styles 2024-05-25 03:46:44 -04:00
alistair3149 139c2c4070
build: release 2.14.1 (#852)
* build: release 2.14.1

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-25 02:29:29 -04:00
alistair3149 d7f6c0c53e
feat(TabberNeue): update TabberNeue RL module name 2024-05-25 00:47:02 -04:00
alistair3149 27eac2da95
fix(codex): 🐛 target new codex style RL module as well
We need to keep the old RL name since we still have to support MW 1.39
2024-05-17 16:41:08 -04:00
alistair3149 03da361b97
feat(components): rewrite template data partials into CitizenComponent components (#846)
- Refactor existing template data-related partials into CitizenComponent components
- Re-implement user menu header as UserInfo
- Add description text for anon and temp user in UserMenu
---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-15 01:24:43 -04:00
alistair3149 b873871e50
chore(release): 🚀 2.13.5 2024-05-09 15:55:08 -04:00
alistair3149 1943722847
chore(release): 🚀 2.13.4 2024-05-09 14:56:19 -04:00
alistair3149 f2393a74b8
feat(core): use relative time for sidebar last mod
Closes: #700
2024-05-08 16:39:47 -04:00
alistair3149 2a3a199ac5
chore(release): 🚀 2.13.3 2024-05-06 17:09:54 -04:00
alistair3149 76a93e962f
fix(Echo): 🐛 re-implement nojs Echo buttons 2024-05-06 15:28:56 -04:00
alistair3149 58bab74eab
feat(core): switch all icons to OOUI module
Custom icons are no longer needed. This should reduce
an extra ResourceLoader module registration.
2024-05-06 13:48:41 -04:00
alistair3149 a81bf1fc16
refactor(core): ♻️ re-implement VE action icon 2024-05-06 13:37:33 -04:00
alistair3149 9a403ee44a
fix(VisualEditor): 🐛 disable VE icon skin
Seems to be causing #839
2024-05-06 12:25:25 -04:00
alistair3149 3eab91ca07
feat(CiteThisPage): update icon to align with master branch 2024-05-03 18:54:16 -04:00
alistair3149 9f3b7dc178
feat(DiscussionTools): add icon to page subscribe button 2024-05-03 18:12:51 -04:00
alistair3149 08eee09d4d
chore(release): 🚀 2.13.2 2024-05-03 17:41:43 -04:00
alistair3149 2c16975493
feat(VisualEditor): enable edit button icon for MW > 1.42 2024-05-01 23:46:47 -04:00
alistair3149 642664e9a8
fix(core): 🐛 declare missing support for user-interface-preferences menu 2024-05-01 21:05:55 -04:00
alistair3149 edfb58e189
feat(core): enable menu link text wrapper
Fix the line height alignment issue on menu links
2024-05-01 21:04:43 -04:00
alistair3149 63d395d704
chore(release): 🚀 2.13.1 2024-04-27 21:08:02 -04:00
alistair3149 1997f126c0
feat(core): add wikidata icon to wikibase in toolbox 2024-04-27 13:25:37 -04:00
alistair3149 358f172542
feat(core): add qrcode icon to urlshortener in toolbox 2024-04-26 23:56:03 -04:00
alistair3149 77f19e6222
chore(release): 🚀 2.13.0 2024-04-26 19:51:23 -04:00
alistair3149 9b66b82e48
refactor(prefs): ♻️ drop mustache in favor of pure JS 2024-04-25 18:05:57 -04:00
alistair3149 efe11ed410
refactor(prefs): ♻️ use literal values instead of integers in clientPref features 2024-04-25 17:51:54 -04:00
alistair3149 241dc96cfe
feat(prefs): move page width to clientPrefs
Now all of the existing prefs are migrated to clientPrefs,
we can discard the code from the old system.
2024-04-25 17:41:22 -04:00
alistair3149 964a4a534d
feat(prefs): remove line-height customization for now
Will be re-implemented later
2024-04-25 17:22:27 -04:00
alistair3149 0d52046523
feat(prefs): migrate font size to client preferences 2024-04-25 17:06:09 -04:00
alistair3149 5768ccc25b
feat(core): add pure black mode for dark theme 2024-04-25 15:45:24 -04:00
alistair3149 07aedfea91
refactor(core): ♻️ do not use 'skin-theme-' message keys
It causes issues with translatewiki because of a conflict with Vector.
And those messages are not stable (T359983, T361157)
2024-04-25 14:21:56 -04:00
alistair3149 a741639085
feat(core): move theme preferences to clientPrefs
Since clientPrefs and other related features are not avaliable until MW 1.42,
many of them are backported as polyfill. Instead of using cookies, the polyfill
are using localStorage only like Citizen in the past.

There are many changes behind the scene, but the most important one being that
`skin-citizen-*` theme classes are now soft-deprecated, and replaced by the
standardized `skin-theme-clientpref-*` classes. There will be sufficient
time before the hard deprecation.

Related: #780
2024-04-24 20:23:54 -04:00
alistair3149 ed226a400e
feat(preferences): implement a localStorage version of mw.user.clientPrefs
This is the first step of migrating to the clientPrefs library when it is avaliable.
Currently only themes are using it and the standard classes are added to the HTML element.

Related: #780
2024-04-24 00:21:36 -04:00
alistair3149 ff3acf3b71
fix(core): 🐛 use runOnSkinTemplateNavigationHooks instead
This should somewhat ensure Citizen gets to run its hook after all the extensions.
Hopefully it will resolve various issues regarding hook load orders.

Closes: #812
2024-04-23 22:55:16 -04:00
alistair3149 4aa7a220ef
fix(ooui): 🐛 load skinStyles when only styles are initalized 2024-04-23 18:42:28 -04:00
alistair3149 bee98d6603
chore(release): 🚀 2.12.0 2024-04-19 17:09:14 -04:00
alistair3149 84cf306df1
fix(core): 🐛 incorrect selector for SemanticResultFormats datatables 2024-04-06 14:27:30 -04:00