Commit graph

565 commits

Author SHA1 Message Date
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
alistair3149 6e97583b87
chore(release): 🚀 2.11.1 2024-04-06 14:09:50 -04:00
alistair3149 a395e8dd81
fix(dataTable): 🐛 do not wrap dataTables_wrapper 2024-04-06 14:08:40 -04:00
alistair3149 86b5a7cda4
chore(release): 🚀 2.11.0 2024-03-19 19:00:53 -04:00
alistair3149 84abe5a71c
feat(datatables): rework search pane and filter styles 2024-03-19 18:01:51 -04:00
alistair3149 d0d07d617c
refactor(datatables): ♻️ merge SRF and Cargo datatables styles 2024-03-19 14:24:59 -04:00
alistair3149 1c4bca8548
chore(release): 🚀 2.10.1 2024-03-11 15:08:51 -04:00
alistair3149 4aabfda54d
chore(release): 🚀 2.10.0 2024-02-26 18:49:25 -05:00
alistair3149 ea5c10a6c3
fix(CodeMirror): 🐛 rename VisualEditor RL module
The init module is deprecated in 1.41.
Fixes: #781
2024-02-05 22:07:23 -05:00
alistair3149 95f41df3a4
chore(release): 🚀 2.9.1 2024-02-04 15:19:32 -05:00
alistair3149 43348d248e
fix(core): 🐛 typo in skin module classes 2024-02-04 15:13:11 -05:00
Jon Robson 9dc952b917
fix(core): deprecate old ResourceLoader class (#784)
Drop old ResourceLoader class, soft deprecated since 1.39 and hard deprecated since 1.42

Related:  T308718, T356563
Fixes: #783
2024-02-04 15:10:33 -05:00
Jon Robson cabd2b9c78
feat(DarkMode): disable dark mode extension (#777)
Follow up to
https://gerrit.wikimedia.org/r/c/938031
2024-01-30 23:56:15 -05:00
alistair3149 22addebe77
refactor(search): ♻️ start cleaning up search suggestion functions 2024-01-26 21:50:21 -05:00
Eisa Ahmed e985f863bc
feat(ar): add support for Arabic fonts through Noto Arabic (#755)
* Added support for Arabic fonts through Noto Naskh Arabic.

* Added Noto Sans Arabic
2023-12-15 00:41:45 -05:00
alistair3149 b1556efa88
chore(release): 🚀 2.9.0 2023-12-13 19:19:59 -05:00
alistair3149 03a23f66f4
chore(release): 🚀 2.8.5 2023-11-16 16:37:38 -05:00
alistair3149 b7b7868309
chore(release): 🚀 2.8.4 2023-11-03 05:16:46 -04:00
alistair3149 57e32404da
chore(release): 🚀 2.8.3 2023-09-11 13:45:23 -04:00
alistair3149 f38e6bb120
fix(core): 🐛 do not wrap diff table 2023-09-11 13:45:05 -04:00
alistair3149 e973f5fdb1
chore(release): 🚀 2.8.2 2023-09-06 17:38:08 -04:00
alistair3149 6f3d82de04
feat(search): only show edit page action if user has rights
That only works for the main namespace fow now.
2023-09-06 17:33:39 -04:00
alistair3149 dc072f4e5b
refactor(search): ♻️ make search action into a module
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2023-08-29 20:05:44 -07:00
alistair3149 680d84cfb0
refactor(search): ♻️ rename helper text message keys 2023-08-29 19:39:13 -07:00
alistair3149 3d31d08021
feat(search): add suggestion to edit page 2023-08-29 19:37:17 -07:00
alistair3149 b33d5bbc87
refactor(search): ♻️ rename typeaheadItems to htmlHelper 2023-08-28 19:20:44 -07:00
alistair3149 2fa1e4b51e
chore(release): 🚀 2.8.1 2023-08-25 17:37:01 -07:00
alistair3149 cb5f4a065b
fix(StructuredDiscussion): 🐛 merge skinStyles into the same RL module
Related: T292245
Closes: #711
2023-08-24 22:22:58 -07:00
alistair3149 b350660f4c
refactor(core): ♻️ use namespaced title class
Bumped minimum MW requirements to 1.39.4 as it is nessecary.
Related: T166010, T338114
2023-08-24 17:56:42 -07:00
alistair3149 590d610363
chore(release): 🚀 2.8.0 2023-08-23 17:44:26 -07:00
alistair3149 f6d3fc95e3
feat(search): add search history to initial state 2023-08-23 17:44:01 -07:00
alistair3149 02662315f8
refactor(search): ♻️ minor cleanup 2023-08-12 14:11:06 -04:00
alistair3149 d091f7eb53
chore(release): 🚀 2.7.11 2023-08-07 17:04:09 -04:00
alistair3149 59ceaf56cf
refactor(search): ♻️ add groundwork needed for search history 2023-08-04 20:02:42 -04:00
alistair3149 4a478eff7a
chore(release): 🚀 2.7.10 2023-08-03 21:20:58 -04:00