Commit graph

592 commits

Author SHA1 Message Date
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
alistair3149 e5fef2ac09
fix(core): 🐛 turn message into string before str_replace 2024-05-15 10:08:20 -04:00
alistair3149 84a65a303b
fix(core): 🐛 only pass string into str replace 2024-05-15 09:40:25 -04:00
github-actions 1827a1b5c9 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-05-15 06:44:12 +00:00
alistair3149 d4d71dc34a
fix(core): 🐛 incorrect try catch block 2024-05-15 02:43:50 -04:00
github-actions c1aad746c3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-05-15 06:31:31 +00:00
alistair3149 0006db65a2
fix(components): catch MalformedTitleException in titleFromText 2024-05-15 02:31:00 -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 ce5532eb8c
refactor(core): ♻️ rename sidebar data to main menu 2024-05-08 16:47:46 -04:00
alistair3149 049366aaa9
fix(core): 🐛 add missing var 2024-05-08 16:44:40 -04:00
alistair3149 f2393a74b8
feat(core): use relative time for sidebar last mod
Closes: #700
2024-05-08 16:39:47 -04:00
alistair3149 c2c95f0fda
feat(core): only show date in last mod sidebar 2024-05-08 15:55:27 -04:00
alistair3149 ed54bbfc33
fix(core): 🐛 hide sidebar lastmod on tablet
It is duplicated with footer
2024-05-08 15:36:04 -04:00
github-actions d1101dd326 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-05-08 19:31:37 +00:00
alistair3149 89b5ff1b12
feat(core): add last modified to sidebar 2024-05-08 15:30:36 -04:00
alistair3149 9110ef1ca3
refactor(core): ♻️ use MainConfigNames constants instead of string literals
Related: T305805
2024-05-07 16:21:01 -04:00
alistair3149 76a93e962f
fix(Echo): 🐛 re-implement nojs Echo buttons 2024-05-06 15:28:56 -04:00
alistair3149 5d59a6d3c0
feat(core): enable caching for inline JS 2024-05-06 14:06:04 -04:00
alistair3149 a81bf1fc16
refactor(core): ♻️ re-implement VE action icon 2024-05-06 13:37:33 -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 3aba632382
feat(Cargo): add icon to purge button 2024-05-03 18:06:56 -04:00
alistair3149 4f9ded3c35
feat(core): render Echo icons in skin instead of js 2024-05-03 17:33:50 -04:00
alistair3149 ffa7d76df4
feat(core): change primary action links in user menu into buttons
Link such as sign up and sign in are converted into a button to make it more visible
2024-05-01 20:25:51 -04:00