alistair3149
6f7f548680
feat(core): only use overflow when needed for mw-body
...
Assigning overflow property that is not clip will block position:sticky from working.
Instead, Citizen will only apply overflow:clip with a fallback to hidden in smaller viewport.
2022-05-23 18:18:53 -04:00
alistair3149
c5c822745d
docs: use English Star Citizen Wiki as live demo site
...
As it is more updated compared to the German wiki now
2022-05-23 16:14:07 -04:00
alistair3149
f89cc6ba05
chore(release): 1.17.3
2022-05-23 16:12:32 -04:00
alistair3149
21633dcd3c
feat(core): separate header from personal menu list
2022-05-23 16:10:14 -04:00
alistair3149
eaad65fc3c
feat(core): decorate personal menu for anon users
2022-05-23 15:26:04 -04:00
alistair3149
be8b9a0a0d
feat(core): clean up and tweak z-index usage
...
fixes #462
2022-05-23 15:11:41 -04:00
alistair3149
23aad4d389
feat(core): add link to talk page next to skin listing
...
Related: T307113
2022-05-23 13:44:59 -04:00
translatewiki.net
94bc52e1ca
Localisation updates from https://translatewiki.net .
2022-05-23 13:10:37 +02:00
github-actions
c2bde2e6ed
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-22 19:13:26 +00:00
alistair3149
97282a30ba
docs: address various phpcs warnings and errors
2022-05-22 15:12:05 -04:00
github-actions
0256103668
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-22 19:08:18 +00:00
alistair3149
cb6795de0a
refactor(core): clean up inconsistent use of partial variables
2022-05-22 15:06:49 -04:00
alistair3149
5adb8915b6
docs: add contributor badge to readme
2022-05-21 16:55:49 -04:00
github-actions
f13bb2ebef
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-21 20:27:46 +00:00
alistair3149
1df970eb41
feat(core): intergrate firstHeading changes from MW 1.39
...
* It is a temporary backport until we move to minimum 1.39
* Add support for blanking title introduced from 1.38
2022-05-21 16:24:35 -04:00
alistair3149
726a348369
feat(core): hide redirect message in search results when not needed
...
If either the title or redirect title is a substring of the other,
hide the redirect.
Related: T303013
2022-05-20 19:48:07 -04:00
alistair3149
a5c52e48b7
feat(core): indicate when search results are from redirects
...
For REST API, search results will now indicate if they are from redirects.
The current implementation is that it will always show up, the logic to
trim redundant info will come later
Related: T303013
2022-05-20 19:10:36 -04:00
alistair3149
da619c793b
refactor(core): remove duplicated auto theme handling
...
Refactor auto theme handling into inline script since theme.js is basically duplicated code
at this point. Also add the event listener whenever auto theme is set.
Closes : #461
2022-05-20 17:33:10 -04:00
alistair3149
71999f8838
feat(core): use gap instead of margin for spacing in flexbox
2022-05-20 16:18:56 -04:00
alistair3149
ea875234be
feat(core): use keywords for transform origin
...
This would allow CSSJanus to flip the styles correctly for RTL
2022-05-20 16:07:44 -04:00
github-actions
8c0819c276
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-19 18:50:30 +00:00
alistair3149
c0cae44d41
feat(core): improve handling of number formatter for site stats
...
* The lack of PECL intl would not trigger an excpetion anymore,
instead it will default back to the regular PHP number format
* NumberFormatter will be based on user locale now instead of en_US
2022-05-19 14:46:35 -04:00
alistair3149
1b7217457a
feat(core): do not override blockquote font size
2022-05-19 14:26:56 -04:00
translatewiki.net
ff4fee507d
Localisation updates from https://translatewiki.net .
2022-05-19 13:21:15 +02:00
alistair3149
b02948837c
refactor(core): do not use h3 for preference card header
2022-05-18 21:37:27 -04:00
alistair3149
c81ba1f07a
fix(core): oversized ULS language toggle under tablet viewport
2022-05-18 21:26:55 -04:00
alistair3149
851356f3d9
feat(core): rename $wgCitizenPortalAttach
to $wgCitizenSiteToolsPortlet
...
The previous name was not self-explanatory.
2022-05-18 19:54:08 -04:00
alistair3149
64ffd3642b
chore(release): 1.17.2
2022-05-18 19:49:15 -04:00
alistair3149
148f2eeefd
docs: add missing param doc
2022-05-18 19:47:52 -04:00
github-actions
0fbac154a7
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-18 23:45:19 +00:00
alistair3149
082b70f7e5
refactor(core): clean up drawer code
...
* Make it a bit more readable
* Define function return type
* Change default of CitizenPortalAttach to an empty string
* Site tools now attach to the first portlet when CitizenPortalAttach is empty
2022-05-18 19:43:50 -04:00
alistair3149
d4c7131c9f
fix(core): call to undefined method RequestContext::getAction()
...
Bug: #459
2022-05-18 19:15:51 -04:00
alistair3149
08ddb60bb6
feat(core): remove tabindex from checkbox label button
...
Elements with `aria-hidden` tag should not have a tabindex.
2022-05-18 17:48:38 -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
176adba1fb
fix(core): decoratePersonalMenu should only return array
2022-05-18 02:56:15 -04:00
alistair3149
2ec20bae5d
fix(core): header function can return null ( #459 )
2022-05-18 02:54:16 -04:00
alistair3149
be4c711d12
chore(release): 1.17.1
2022-05-17 22:21:46 -04:00
alistair3149
59607905be
fix(core): incorrect folder name for PSR-4 autoloader
...
The folder `Api` was not renamed correctly in previous commit, causing webapp
manifest to fail because MW can't locate the correct class.
2022-05-17 22:20:22 -04:00
alistair3149
95a4609c17
feat(core): use standard external link icon fo external links
...
Have to polyfill because it is still a long way to go until being standardized in core
Related: T261391
2022-05-17 22:10:26 -04:00
alistair3149
9d711d4ee2
refactor(core): use scroll-padding-top
for top margin
2022-05-17 15:35:04 -04:00
alistair3149
1be7f5faaf
refactor(core): rewrite ToC scrollspy based on Vector
2022-05-17 15:11:16 -04:00
alistair3149
f38422d97a
chore(release): 1.17.0
2022-05-17 11:18:12 -04:00
alistair3149
e7b88d32a8
feat(skinStyles): add responsive layout for ULS
2022-05-17 11:06:23 -04:00
alistair3149
95e48b13d5
feat(skinStyles): update ULS styles
...
Updated to MLEB 2021.12, the last version that supports MW 1.35
2022-05-17 10:57:50 -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
9ac32c1421
refactor(skinStyles): remove duplicated property
2022-05-17 09:44:43 -04:00
alistair3149
73c61e9b37
feat(core): use ULS for interwiki language menu if possible
2022-05-17 09:42:34 -04:00
github-actions
9ef2aab8b4
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-17 02:53:14 +00:00