Commit graph

582 commits

Author SHA1 Message Date
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
alistair3149 00157436a5
fix(core): 🐛 stricter match for title parenthesis
* Only match the parenthesis at the end of the title
* Only match when a whitespace is before the opening parenthesis
2024-05-01 19:31:21 -04:00
alistair3149 a09e5e0b34
fix(core): 🐛 add missing file associated page icon 2024-04-27 13:29:23 -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 52f4bab1a5
feat(core): only load the inline script if EnablePreferences is true 2024-04-25 19:33:11 -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
github-actions 2d936d01c3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-04-25 21:07:23 +00: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