Commit graph

150 commits

Author SHA1 Message Date
alistair3149 0c23e50d62
feat(core): convert tagline to langauage variant when appliable 2023-02-16 12:23:17 -05:00
alistair3149 c8d5a6e5f4
fix(core): 🐛 reset array index after removing toolbox from sidebar
This should fix the issue where SidebarBeforeOutput is not working in some scenario.

Fix: #580
2023-02-15 15:40:13 -05:00
alistair3149 081a176edc
fix(core): 🐛 handle null exception for user group 2023-02-10 10:06:06 -05:00
github-actions 7a0f3a1294 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-01-31 19:55:38 +00:00
alistair3149 d14ddd99e6
refactor(core): ♻️ simplify page title implementation 2023-01-31 14:54:20 -05:00
CosmicAlpha 8aca2e8b68
refactor(core): ensure that shouldShowPageTools() returns a bool (#573) 2023-01-21 18:11:41 -05:00
alistair3149 e3bf5813c8
fix(core): 🐛 disable ULS-enhanced language button for now
Somehow the ULS popup does not appear after clicking the button.
Disabling it for now until it is fixed
2023-01-15 02:26:34 -05:00
github-actions aacf10b20c ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-01-04 00:28:23 +00:00
alistair3149 8c4bd54d32
feat(core): only add upload link when it is enabled
Citizen should not add upload link to drawer when $wgEnableUploads is
false.
2023-01-03 19:26:43 -05:00
alistair3149 ad714dcfed
feat(core): allow collapsible sections with DiscussionTools wrappers on headings
Bug: T314714
2022-11-24 21:36:06 -05:00
alistair3149 81eadf9c8d
perf(core): ️ replace getElementsByTagName() with DOMCompat::querySelectorAll()
Should help with performance quite a bit
Bug: T317070
2022-11-24 21:26:55 -05:00
alistair3149 997c152a2a
feat(core): migrate collapse icon to RL icon module 2022-11-21 17:43:19 -05:00
github-actions ce25c752b6
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:42:58 -05:00
alistair3149 7eae7c6b14
feat(core): migrate sitestats to use RL icon module 2022-11-21 17:42:57 -05:00
alistair3149 9232c91352
feat(core): deprecate preconnect
Deprecating due to low usage. It was originally used for external assets
like analytics, but that should really be done through the extension instead
of the skin.
2022-11-21 17:42:16 -05:00
alistair3149 7bd34caad5
style(core): 🎨 rename personal menu to user menu 2022-11-21 17:41:30 -05:00
github-actions f12218c0dc
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:41:25 -05:00
alistair3149 e9677d6b87
refactor(core): ♻️ clean up user menu header 2022-11-21 17:41:23 -05:00
alistair3149 a31babc297
refactor(core): ♻️ drop polyfill related to user menu 2022-11-21 17:41:20 -05:00
alistair3149 7b311db1a6
refactor(core): ♻️ use user-menu template data instead 2022-11-21 17:41:13 -05:00
github-actions be18ec8f0d
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:41:11 -05:00
alistair3149 d78ffeadb4
refactor(core): ♻️ use core data for search box 2022-11-21 17:41:10 -05:00
alistair3149 dfbaa67995
refactor(core): ♻️ drop responsive meta tag fallback 2022-11-21 17:41:08 -05:00
alistair3149 a93f373269
refactor(core): ♻️ use core sidebar data 2022-11-21 17:41:06 -05:00
github-actions 7b3e696f7b
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:41:00 -05:00
alistair3149 ac12ff0444
refactor(core): ♻️ use MW footer data and add onto it 2022-11-21 17:40:58 -05:00
alistair3149 4c9aa17bb2
refactor(core): ♻️ drop footer mustache fallback 2022-11-21 17:40:56 -05:00
alistair3149 2bc022aba2
feat(core): rename $wgCitizenSiteToolsPorlet to $wgCitizenGlobalToolsPorlet 2022-11-21 17:40:54 -05:00
alistair3149 fb9b17108d
style(core): 🎨 rename site tools to global tools
So that it aligns with the naming scheme from Desktop Improvements
2022-11-21 17:40:53 -05:00
alistair3149 4f74f0b4ad
refactor(core): ♻️ drop getFooterIcons 2022-11-21 17:40:49 -05:00
github-actions 7c50ed320d
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:40:46 -05:00
alistair3149 0ddd1ebf80
refactor(core): ♻️ clean up page tools implementation 2022-11-21 17:40:44 -05:00
alistair3149 05e3c6762d
refactor(core): ♻️ drop getPortletData usage in notifications 2022-11-21 17:40:43 -05:00
alistair3149 bd07799a67
refactor(core): ♻️ drop getPorletData usage in drawer 2022-11-21 17:40:41 -05:00
alistair3149 de362b6f24
refactor(core): ♻️ drop logos fallback 2022-11-21 17:40:36 -05:00
github-actions cf653a32a0
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:40:34 -05:00
alistair3149 2acb154164
refactor(core): ♻️ drop Action API fallback 2022-11-21 17:40:30 -05:00
alistair3149 81f3810a7e
refactor: ♻️ drop runOnSkinTemplateNavigationHooks fallback 2022-11-21 17:40:29 -05:00
alistair3149 bf66c60f3d
feat(core): tweak body footer styles 2022-10-01 19:36:09 -04:00
alistair3149 aaad2bb92a
feat(core): move footer info into body footer
They are related to the article/page instead of the whole site
2022-10-01 17:25:20 -04:00
CosmicAlpha 6384d02b74
feat: use loose comparison for checking if CitizenShowPageTools is true (#497) 2022-08-02 19:08:00 -04:00
alistair3149 00e1f57bad
feat(core): add config to use numberformatter without disabling sitestats
Add the ability to disable numberformatter independently from sitestats
Due to an upstream issue, numberforrmatter can throw an exception in some
instances (#474). This will help to mitigate the issue.
2022-06-14 15:56:03 -04:00
alistair3149 681f4fd9fa
refactor(core): only get user-related stats when user is registered 2022-06-02 10:46:14 -04:00
alistair3149 756e398242
fix(core): check if user is registered before getting edit count
getEditCount() throws an exception if the user is not registered before 1.37
2022-06-02 10:37:31 -04:00
alistair3149 0a68a178cc
refactor(core): use array_merge to get sidebar for toolbox
Spread syntax is not supported before PHP 7.4
2022-05-28 14:26:32 -04:00
alistair3149 53ef5f0543
refactor(core): use core responsive mode for MW 1.36+
Use core responsive mode for MW 1.36+, and polyfill for MW 1.35
2022-05-26 18:12:08 -04:00
alistair3149 11c50a5669
refactor(core): remove redundant message keys 2022-05-26 17:57:57 -04:00
alistair3149 58d85ff426 refactor(core): normalize PHP namespaces used in Citizen
Related: T303102
2022-05-26 16:58:14 -04:00
alistair3149 320b28c6d9
fix(core): call to member function null in user tagline 2022-05-24 18:18:23 -04:00
alistair3149 21633dcd3c
feat(core): separate header from personal menu list 2022-05-23 16:10:14 -04:00