Commit graph

3769 commits

Author SHA1 Message Date
alistair3149 3d146b2374
refactor(cssVar): ♻️ introduce color-inverted 2024-06-05 18:54:54 -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
dependabot[bot] f59947f00c
build(deps-dev): bump stylelint-config-recess-order from 4.6.0 to 5.0.1 (#864)
Bumps [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order) from 4.6.0 to 5.0.1.
- [Release notes](https://github.com/stormwarning/stylelint-config-recess-order/releases)
- [Changelog](https://github.com/stormwarning/stylelint-config-recess-order/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stormwarning/stylelint-config-recess-order/compare/v4.6.0...v5.0.1)

---
updated-dependencies:
- dependency-name: stylelint-config-recess-order
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 23:37:46 -04:00
alistair3149 3dd50b6475
docs(hooks): fix incorrect typehint 2024-06-04 23:37:16 -04:00
dependabot[bot] ea7c1d1321
build(deps-dev): bump stylelint-config-wikimedia from 0.16.1 to 0.17.0 (#861)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 21:13:30 -04:00
dependabot[bot] eac0330b94
build(deps-dev): bump stylelint from 15.11.0 to 16.6.1 (#862)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.11.0 to 16.6.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.11.0...16.6.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 21:13:02 -04:00
dependabot[bot] dfee1ed2ad
build(deps-dev): bump eslint-config-wikimedia from 0.27.0 to 0.28.0 (#860)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/eslint-config-wikimedia/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: eslint-config-wikimedia
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 21:12:36 -04:00
translatewiki.net 6b34fdac2f Localisation updates from https://translatewiki.net. 2024-06-03 14:13:24 +02:00
alistair3149 e33098a65e
build: release 2.16.0 (#857)
* build: release 2.16.0

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-06-01 15:56:53 -04:00
alistair3149 e9d7cc270a
perf(core): ️ do not use will-change (part 2) 2024-06-01 15:55:27 -04:00
alistair3149 08822ac371
Revert "ci: 👷 only trigger release-please workflow on main branch after lint"
This reverts commit 44e0c339f1.
2024-06-01 15:52:47 -04:00
alistair3149 44e0c339f1
ci: 👷 only trigger release-please workflow on main branch after lint 2024-06-01 15:49:52 -04:00
alistair3149 d80394c92f
ci: 👷 simplify lint workflow by removing redundant branch filters 2024-06-01 15:44:40 -04:00
alistair3149 7df17c2993
ci: 👷 exclude 'release-please/**' branches from lint workflow 2024-06-01 15:43:12 -04:00
alistair3149 d8b3cad225
perf(core): ️ do not use will-change 2024-06-01 15:36:48 -04:00
github-actions 5fbf8bf938 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-06-01 19:35:16 +00:00
alistair3149 151e51da2f
fix(search): 🐛 opening search card should not play animation on mobile 2024-06-01 15:34:14 -04:00
alistair3149 6108fccc31
refactor(menu): ♻️ remove unused checkbox hack styles 2024-06-01 15:29:12 -04:00
alistair3149 502b462c06
style(dropdown): 🎨 clean up code styles 2024-06-01 15:28:49 -04:00
alistair3149 32d10f893b
fix(dropdown): 🐛 toggle should dismiss the dropdown properly 2024-06-01 15:13:38 -04:00
alistair3149 c17e6a9770
chore(dev): 🔧 add editconfig file 2024-06-01 15:02:08 -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
dependabot[bot] c11fbf67a9
build(deps-dev): bump @wikimedia/types-wikimedia from 0.4.3 to 0.4.4 (#858)
Bumps [@wikimedia/types-wikimedia](https://github.com/wikimedia/typescript-types) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/wikimedia/typescript-types/releases)
- [Commits](https://github.com/wikimedia/typescript-types/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: "@wikimedia/types-wikimedia"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 03:32:28 -04:00
alistair3149 87513459c4
fix(core): 🐛 hide Safari details marker 2024-05-31 03:28:52 -04:00
alistair3149 d0691a06d0
feat(core): add dismiss affordnance to dropdown menus 2024-05-30 16:20:03 -04:00
alistair3149 a2d3159def
feat(core): replace checkbox hack with details and summary
Note that ToC is still using the old checkbox hack, it will be replaced in a later time.
Related: T333394
2024-05-30 02:20:13 -04:00
alistair3149 a8daa82354
fix(core): 🐛 avoid using core mw.util.addPortlet for now
Seems to break in 1.41, will look into it later
2024-05-29 20:21:55 -04:00
alistair3149 3b90a46109
fix(core): 🐛 revert max-width rule on installed software 2024-05-29 17:52:00 -04:00
alistair3149 83ab221408
feat(core): only handle wikitable instead of all tables
Wikis use tables in creative ways and it is probably just safer to only apply it to wikitables.
Might revisit if there are any news from T330527.
2024-05-29 17:47:13 -04:00
alistair3149 87f15ddd6d
fix(core): 🐛 incorrect selector to disable search card animation on mobile 2024-05-29 14:06:58 -04:00
alistair3149 2bbb1d9408
perf(core): ️ check for nowrap classes before constructing class 2024-05-29 14:02:57 -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
github-actions 121772f8aa ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-05-28 21:44:31 +00:00
alistair3149 a6abc3c993
fix(core): 🐛 incorrect software alignment on Special:Version 2024-05-28 17:43:09 -04:00
alistair3149 c40c7c7b84
feat(core): destructure surface colors into hsl variables 2024-05-28 13:59:07 -04:00
alistair3149 5b59158bbe
docs(readme): 📚️ fix incorrect minimum MW requirements 2024-05-28 04:07:26 -04:00
alistair3149 621adff9fc
fix(core): 🐛 incorrect classes and styles for page action cards 2024-05-28 02:12:50 -04:00
alistair3149 92fda3114e
build: release 2.15.1 (#856)
* build: release 2.15.1

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-27 23:19:20 -04:00
alistair3149 87a8bf256e
refactor(core): ♻️ various cleanup 2024-05-27 23:18:13 -04:00
alistair3149 f74e3d2f6a
perf(core): ️ tweak menu animation timing 2024-05-27 23:17:48 -04:00
alistair3149 2d10199b27
refactor(core): ♻️ remove redundant selector 2024-05-27 23:00:28 -04:00
alistair3149 e95d3d39bd
perf(core): ️ consolidate citizen-menu card shared styles 2024-05-27 22:47:46 -04:00
alistair3149 1794ab72ab
docs(readme): 📚️ remove CI badge and add screenshot 2024-05-27 18:37:28 -04:00
alistair3149 defc1ced31
chore(composer): 🔧 use starcitizentools as vendor since mediawiki is disallowed 2024-05-27 18:28:21 -04:00
alistair3149 1b4159051b
build: release 2.15.0 (#853)
* build: release 2.15.0

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-27 18:05:24 -04:00
alistair3149 4ed68a924d
feat(core): wrap any elements tagged with the class citizen-overflow 2024-05-27 18:01:09 -04:00
alistair3149 7b32aeec7d
fix(core): 🐛 always reset overflow state 2024-05-27 17:58:04 -04:00
alistair3149 c3943ca7cf
feat(core): change overflow gradient to fixed size 2024-05-27 17:53:55 -04:00