alistair3149
3073f52a61
feat(PWA): ✨ add support for description field
2024-11-13 18:23:40 -05:00
alistair3149
79c0e453d3
feat(PWA): ✨ add support for short_name field
2024-11-13 18:20:54 -05:00
alistair3149
586cf2c002
feat(PWA): ✨ merge all PWA config into wgCitizenManifestOptions
2024-11-13 18:17:17 -05:00
alistair3149
71aada9d12
fix(PWA): 🐛 don't save icon if no sizes are detected
2024-11-13 17:59:13 -05:00
alistair3149
dcce74a583
fix(PWA): 🐛 add missing use class
2024-11-12 22:38:18 -05:00
alistair3149
0c3786c754
perf(share): ⚡ ️ prerender the HTML for the share button
...
Instead of doing it in JS, just render it altogther in the HTML
2024-11-12 22:36:59 -05:00
alistair3149
5436cc46da
feat(PWA): ✨ allow custom icons definition with wgCitizenManifestIcons
2024-11-12 22:05:04 -05:00
github-actions
536c9d2e61
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-13 02:15:08 +00:00
alistair3149
28970f6867
fix(PWA): 🐛 revert to old behavior to fix missing icons in manifest
2024-11-12 21:14:34 -05:00
alistair3149
e6538888fe
refactor(core): ♻️ fix various phpcs issues
2024-11-04 18:50:07 -05:00
github-actions
b95b475c91
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-04 23:43:30 +00:00
alistair3149
4e48a19503
refactor(core): ♻️ fix various phpcs issues
2024-11-04 18:42:57 -05:00
github-actions
7b9522b395
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-04 23:26:40 +00:00
alistair3149
37e563bff0
refactor(pwa): ♻️ clean up PWA API functions
2024-11-04 18:26:04 -05:00
alistair3149
e1c8c78399
refactor(core): ♻️ do not use Skin::makeSpecialUrl
...
Skin::makeSpecialUrl is deprecated in MW 1.43.
Since the replacement method SkinComponentUtils is not avaliable in 1.39,
we are using SpecialPage::getTitleFor for now until we move onto 1.43.
2024-10-28 16:48:59 -04:00
alistair3149
06b6f6c194
feat(header): ✨ add microinteraction to wiki logo/home button
2024-10-23 19:46:15 -04:00
alistair3149
9660faaa25
feat(core): ✨ backport class from MW core
...
This class is used to indicate whether a page is a main page.
It is not present in MW 1.39 and we have a use case for that.
2024-10-23 16:59:34 -04:00
alistair3149
a874e45560
refactor(core): ♻️ move toc flag to skin.json
...
It is just a simplet toggle so we should put it in skin.json instead.
2024-10-23 16:49:29 -04:00
github-actions
366561433e
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-10-23 20:09:29 +00:00
alistair3149
404106f182
refactor(pageTools): ♻️ refactor pageTools into component
2024-10-23 16:08:58 -04:00
alistair3149
01419e7619
perf(sections): ⚡ ️ re-order conditions to short circuit earlier
...
We should not call MediaWikiServices first every time for formatting sections.
Instead it should be done last as other checks are cheaper.
2024-10-23 15:14:24 -04:00
alistair3149
dea1628ce3
feat(search): ✨ change search text label to advanced search if AdvancedSearch is enabled
2024-10-03 17:06:42 -04:00
alistair3149
3e63a3f6cc
feat(search): ✨ show ElasticSearch at search footer if it is enabled
2024-10-03 16:46:28 -04:00
alistair3149
86da3e0771
fix(userInfo): 🐛 escape html characters for real name
...
GHSA-62r2-gcxr-426x
2024-09-28 17:40:31 -04:00
alistair3149
a213f1d6a0
feat(search): ✨ add keyboard hint to search card
2024-09-26 17:47:19 -04:00
alistair3149
19441d8a74
fix(userinfo): 🐛 use more appropiate i18n for edit label
...
Closes : #944
2024-09-10 22:16:05 -04:00
alistair3149
f0d1176f2a
feat(pref): ✨ add clientpref to disable auto-hide navigation
...
Closes #841
2024-07-10 13:59:03 -04:00
alistair3149
1f417eda0b
feat(PWA): ✨ set orientation to natural
...
It should not lock to potrait. Instead, it should adapt to user preferences.
2024-07-06 18:10:26 -04:00
alistair3149
fdc6eaee20
feat(Echo): ✨ upgrade Echo buttons for consistency
...
This is similiar to how it is handled in Vector.
We are forcing the Echo button to render in the same way as it was initially.
This took me so many hours sigh.
2024-07-05 20:37:52 -04:00
alistair3149
c5c47aeb5f
feat(search): ✨ use Short URL in search suggestion
...
This should avoid a bunch of 302 redirects using the old Special:Search links.
2024-07-05 16:21:10 -04:00
alistair3149
3e64df8bee
fix(pageHeading): 🐛 capture brackets even without whitespace prefix
...
Related: #879
2024-06-14 16:34:02 -04:00
alistair3149
01d14d5598
feat(pageHeading): ✨ add support for all Unicode opening and closing punctation marks
...
Closes : #879
2024-06-14 12:34:07 -04:00
github-actions
abc8176638
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-06-11 20:14:35 +00:00
alistair3149
7c681adb25
refactor(tagline): ♻️ simplify if else nest levels
2024-06-11 16:14:29 -04:00
alistair3149
fe9c0f8674
fix(tagline): 🐛 always return string from user tagline
...
Closes : #871
2024-06-11 15:53:52 -04:00
alistair3149
e9cdf04c22
fix(hooks): 🐛 add missing icon for talk pages
2024-06-06 14:52:30 -04:00
alistair3149
9556c44183
fix(hooks): 🐛 use arrowPrevious icon for return action on talk page
2024-06-06 14:45:41 -04:00
alistair3149
e372c4b733
fix(hooks): 🐛 add missing article page icon on talk pages
...
Fixes : #867
2024-06-06 14:43:34 -04:00
github-actions
5d990f836e
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-06-05 19:28:35 +00:00
alistair3149
bfc4b30902
docs(skin): add doc on why runOnSkinTemplateNavigationHooks is needed
2024-06-05 15:28:25 -04:00
alistair3149
ea5524f9e2
fix(hooks): 🐛 always add editsection classes as string
...
Fixes : #829
2024-06-05 00:04:19 -04:00
alistair3149
3dd50b6475
docs(hooks): fix incorrect typehint
2024-06-04 23:37:16 -04:00
alistair3149
4a43280242
fix(components): 🐛 escape the contents of MediaWiki:Tagline
...
Co-authored-by: BlankEclair <blankeclair@waifu.club>
2024-06-01 14:50:46 -04:00
alistair3149
06d10b99ce
fix(core): 🐛 check if page content model and whether the title can exist before formatting
2024-05-29 12:24:07 -04:00
alistair3149
974e6b2750
feat(core): ✨ add config to change overflow inherited classes
2024-05-27 17:16:23 -04:00
alistair3149
c17aeab3fd
feat(core): ✨ rename wgCitizenTableNowrapClasses to wgCitizenOverflowNowrapClasses
...
Allow this config to use for more generic elements in the future
2024-05-27 15:54:34 -04:00
alistair3149
8ba6b55770
refactor(core): ♻️ clean up section functions
2024-05-25 23:51:50 -04:00
alistair3149
593c6406fb
refactor(core): ♻️ simplify section handling
2024-05-21 18:46:19 -04:00
alistair3149
f781773cba
fix(core): 🐛 pass namespace key as string
...
When the namespace key only consists of number, it can cause a TypeError.
Fixes : #849
2024-05-18 19:47:30 -04:00
alistair3149
c5e8c2bfc8
fix(core): 🐛 incorrect label text when edit count contains separator
2024-05-17 16:43:35 -04:00