Commit graph

625 commits

Author SHA1 Message Date
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
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
alistair3149 0c84c9d27c
chore(release): 🚀 2.7.9 2023-08-03 21:01:54 -04:00
alistair3149 b4d19dc72a
chore(release): 🚀 2.7.8 2023-08-03 20:37:35 -04:00
alistair3149 1346151bd3
chore(release): 🚀 2.7.7 2023-08-03 19:51:17 -04:00
alistair3149 dad90d38f2
feat(FlaggedRevs): add styles
Closes: #701
2023-08-03 19:49:22 -04:00
alistair3149 eec5c6fd64
feat(search): reimplement multi search command experiment
Search commands start withs slash and includes: action, rest, ask
2023-08-02 22:07:41 -04:00
alistair3149 17593b8202
refactor(search): ♻️ separate search query and client from typeahead.js 2023-08-02 20:16:39 -04:00
alistair3149 51db19938c
feat(search): reimplement SMW Ask API search
Instead of relying on hardcoded config, you can simply type the
conditions as search query (e.g. `[[Has population::1200]][[:+]]`).
2023-08-02 19:02:50 -04:00
alistair3149 431599cb59
refactor(search): ♻️ reimplement and clean up search clients
This should make the search clients more readable and easier to expand
2023-08-02 18:56:08 -04:00
alistair3149 c2431ebeba
refactor(search): ♻️ clean up result fetch functions
Based on Vector implementation
2023-07-31 20:59:50 -04:00
alistair3149 7690c4e97e
chore(release): 🚀 2.7.6 2023-07-30 18:06:10 -04:00
alistair3149 ef5e081dc3
chore(release): 🚀 2.7.5 2023-07-17 18:18:24 -04:00
alistair3149 8cfa260997
feat(SemanticMediaWiki): add datatable styles 2023-07-16 20:06:15 -04:00
alistair3149 6af0900185
chore(release): 🚀 2.7.4 2023-07-16 02:54:18 -04:00
alistair3149 5ccab9e89d
chore(release): 🚀 2.7.3 2023-07-15 03:48:09 -04:00
alistair3149 3b4f82a18c
chore(release): 🚀 2.7.2 2023-07-14 18:19:48 -04:00
alistair3149 50ae4d9d76
fix(MediaWiki): missing changelist legend styles in 1.40 (#685) 2023-07-13 21:34:02 -04:00
alistair3149 42a40307e4
feat(Tabs): add support for Extension:Tabs
Closes: #687
2023-07-11 21:33:15 -04:00
alistair3149 9c84aa9ec4
chore(release): 🚀 2.7.1 2023-07-11 01:50:49 -04:00
alistair3149 a9447272dc
fix(Capiunto): 🐛 ignore Capiunto infobox for table wrapper
Closes: #686
2023-07-10 17:11:47 -04:00
alistair3149 ef64663ddf
chore(release): 🚀 2.7.0 2023-07-10 16:59:33 -04:00
alistair3149 6cddf85131
feat(search): add clear button to search box 2023-07-10 16:23:48 -04:00
alistair3149 eecd21db76
feat(core): add icon for Email this user 2023-07-06 15:02:14 -04:00
alistair3149 417c151d01
feat(TabberNeue): update TabberNeue selector to match with the latest version 2023-07-05 20:01:38 -04:00
alistair3149 e8a09a7b8d
chore(release): 🚀 2.6.6 2023-07-04 23:24:35 -04:00
alistair3149 bb538148bd
chore(release): 🚀 2.6.5 2023-07-04 21:13:53 -04:00
沈澄心 88f8cfb435
feat(MediaWiki): add mediawiki.filewarning skinstyle (#682)
* Create mediawiki.filewarning.less

* Update skin.json

* Update README.md

* Update mediawiki.filewarning.less
2023-07-04 21:11:34 -04:00
H. C. Kruse a1139e7797
fix(Tables): Check if element.parentNode is null (#681)
Happened on the recent changes table. While the added line in TableNowrapClasses also fixes this, I've left it in as a safeguard.
2023-07-03 08:48:15 -04:00
沈澄心 dfe7167e97
feat(core): add title to logos (#671)
* Update skin.json

* Update Drawer__logo.mustache

* Update Header__logo.mustache

* Update skin.json

* Update Drawer__logo.mustache

* Update Header__logo.mustache
2023-06-22 13:48:56 -04:00
alistair3149 348b228d10
chore(release): 🚀 2.6.4 2023-06-19 23:47:14 -04: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
alistair3149 cb15810de9
chore(release): 🚀 2.6.3 2023-06-09 21:38:29 -04:00
沈澄心 7134a88995
feat(Score): add Score support (#661)
* Create ext.score.popup.less

* Update skin.json

* Update README.md

* Update ext.score.popup.less
2023-06-09 21:09:26 -04:00
alistair3149 83c42eeeaf
chore(release): 🚀 2.6.2 2023-06-04 03:10:48 -04:00
alistair3149 53929ce91c
feat(mediawiki): add JSON content styles 2023-06-02 00:19:10 -04:00
alistair3149 8cc5b45494
chore(release): 🚀 2.6.1 2023-06-01 19:08:59 -04:00
沈澄心 ba825daa9a
feat(core): update state text color (#642)
* Update variables.less

* Update cssvariables.less

* Update content.body.less

* Update mediawiki.special.changeslist.less

* Update mediawiki.special.changeslist.less

* Update ext.scribunto.edit.less

* Update ext.echo.ui.less

* Create mediawiki.interface.helpers.styles.less

* Update skin.json

* Update oojs-ui-core.less

* Update oojs-ui-core.less

* Update variables.less

* Update cssvariables.less

* Update variables.less

* Update mediawiki.special.changeslist.less

* Update cssvariables.less

* Update variables.less

* Update variables.less

* Update README.md

* Update README.md

* Update mediawiki.special.changeslist.less
2023-06-01 18:47:40 -04:00
沈澄心 151a227083
feat(WikiHiero): add WikiHiero support (#645)
* Create ext.wikihiero

* Delete ext.wikihiero

* Create ext.wikihiero.less

* Update ext.wikihiero.less

* Update ext.wikihiero.less

* Update ext.wikihiero.less

* Update skin.json

* Update README.md

* Update README.md
2023-06-01 18:46:46 -04:00
沈澄心 9cf37c20e3
feat(SmiteSpam): add SmiteSpam support (#641)
* Create ext.SmiteSpam.retriever.less

* Update skin.json

* Update skin.json

* Update README.md

* Update skin.json
2023-05-31 05:04:32 -04:00
沈澄心 866ae58bd0
feat(jquery): add jquery.spinner color (#640)
* Create jquery.spinner.styles.less

* Update skin.json

* Update jquery.spinner.styles.less
2023-05-30 06:00:15 -04:00
沈澄心 1158a3c13c
feat(VEForAll): add VEForAll styles(#637)
* VEForAll support

* Update ext.veforall.main.less

* Update ext.CommentStreams.less

* Update ext.veforall.main.less

* Update ext.scribunto.edit.less

* Update README.md

Also fix various readme doc
2023-05-27 19:13:38 -04:00