alistair3149
049366aaa9
fix(core): 🐛 add missing var
2024-05-08 16:44:40 -04:00
alistair3149
89b5ff1b12
feat(core): ✨ add last modified to sidebar
2024-05-08 15:30:36 -04:00
H. C. Kruse
661ad61486
ci: add PHPUnit tests ( #712 )
...
* ci: WIP add PHP Unit Tests
* ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
* ci: Add phpunit tests
---------
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2023-08-25 14:39:37 -07:00
alistair3149
54c8717d45
refactor(core): ♻️ simplify menu header implementation
2023-02-22 14:47:32 -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
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
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
CosmicAlpha
6384d02b74
feat: use loose comparison for checking if CitizenShowPageTools is true ( #497 )
2022-08-02 19:08:00 -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
58d85ff426
refactor(core): normalize PHP namespaces used in Citizen
...
Related: T303102
2022-05-26 16:58:14 -04:00
alistair3149
cb6795de0a
refactor(core): clean up inconsistent use of partial variables
2022-05-22 15:06:49 -04:00
alistair3149
d4c7131c9f
fix(core): call to undefined method RequestContext::getAction()
...
Bug: #459
2022-05-18 19:15:51 -04:00
alistair3149
1df223abfa
feat(core): update menu to be more inlined with MW core
...
* Use label instead of h3 for menu headings
* Rename portals to portlets according to core
* Replace label-class with heading-class
* Use has-label to hide labels instead of adding screen reader class
2022-05-18 17:14:24 -04:00
github-actions
5411a9e81a
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-18 18:23:24 +00:00
alistair3149
bbf7fa8b34
fix(core): don't use getActionName
< MW 1.38
...
getActionName does not exist before MW 1.38, use getAction instead
Bug: #459
2022-05-18 14:20:51 -04:00
alistair3149
4710d1e59a
refactor(core): remove MW version check for ULS
...
The selector is present in MLEB builds that supports 1.35. So we don't need
to exclude 1.35 anymore.
2022-05-17 09:54:31 -04:00
alistair3149
73c61e9b37
feat(core): use ULS for interwiki language menu if possible
2022-05-17 09:42:34 -04:00
github-actions
29cd22fd7c
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-16 23:32:53 +00:00
alistair3149
9926140281
feat(core): add language count badge
...
Now the language button will have a badge indicating avaliable languages for the page
2022-05-16 19:31:11 -04:00
github-actions
b8976790e5
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-16 04:53:33 +00:00
alistair3149
442f241641
feat(core): add language menu to page tools
...
In other language menu and language variant menu are merged into a singular menu
with a toggle in page tools. This is the first step towards having better language
handling in the skin.
2022-05-16 00:50:00 -04:00
alistair3149
7756c3447f
refactor(core): clean up SkinMustache polyfill for 1.35
2022-05-15 21:37:39 -04:00
Lens0021
2787d49a96
fix: find toolbox explicitly ( #448 )
...
The last item in the sidebar is not always the toolbox in some wikis, as result, a wrong portlet is displayed.
2022-04-30 02:54:13 -04:00
alistair3149
f05295195a
feat: move discussion to the top of the more menu
...
Also clean up some related-styles
2022-04-24 01:53:47 -04:00
Lens0021
449278f0be
feat: use template data for page tools if available ( #440 )
...
* Use template data for page tools if available
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* emptyPortlet class is added by the core
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* Update PageTools.php
* Set toolbox to always valid data
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2022-04-14 00:30:33 -04:00
alistair3149
41a0793ae1
refactor: use isRegistered instead of isLoggedIn
...
isLoggedIn is depreciated in 1.36
2021-03-25 15:06:54 -04:00
alistair3149
c795578dad
feat: merge namespace and variant links into more menu
2021-02-26 16:21:11 -05:00
Hannes
97850860b7
fix: Fatal error
2021-01-28 21:09:52 +01:00
Hannes
cdb05ec7fd
refactor: Move footer and page links/tools
2021-01-28 20:35:31 +01:00