Commit graph

3430 commits

Author SHA1 Message Date
alistair3149 89feec126c
Merge branch 'main' of github.com:StarCitizenTools/mediawiki-skins-Citizen 2024-01-26 18:07:07 -05:00
dependabot[bot] b34675fc6f
chore(deps-dev): bump @commitlint/cli from 18.5.0 to 18.6.0 (#773)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.5.0 to 18.6.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  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-01-26 18:06:04 -05:00
dependabot[bot] 2d9ef72cae
chore(deps-dev): bump husky from 8.0.3 to 9.0.6 (#772)
Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.6.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.6)

---
updated-dependencies:
- dependency-name: husky
  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-01-26 01:30:46 -05:00
dependabot[bot] bab49d150a
chore(deps): bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 (#774)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  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-01-26 01:30:32 -05:00
dependabot[bot] f74ba8c323
chore(deps-dev): bump @commitlint/config-conventional (#771)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.5.0 to 18.6.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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-01-26 01:30:20 -05:00
dependabot[bot] 3d735fbe26
chore(deps-dev): bump @commitlint/cli from 18.4.4 to 18.5.0 (#770)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.4.4 to 18.5.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.5.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  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-01-25 16:09:19 -05:00
translatewiki.net 2a595f8e70 Localisation updates from https://translatewiki.net. 2024-01-25 13:15:15 +01:00
dependabot[bot] 54b3ebe5f0
chore(deps-dev): bump @commitlint/config-conventional (#769)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.4.4 to 18.5.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.5.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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-01-25 02:56:06 -05:00
dependabot[bot] 4f3dc785e5
chore(deps-dev): bump stylelint from 16.1.0 to 16.2.0 (#768)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.1.0 to 16.2.0.
- [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/16.1.0...16.2.0)

---
updated-dependencies:
- dependency-name: stylelint
  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-01-25 02:55:58 -05:00
dependabot[bot] 01556ee50a
chore(deps): bump tj-actions/changed-files from 41 to 42 (#766)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 42.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v41...v42)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  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-01-25 02:55:48 -05:00
dependabot[bot] a0327bf8b2
chore(deps): bump actions/cache from 3 to 4 (#765)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  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-01-25 02:55:37 -05:00
translatewiki.net cece9fa339 Localisation updates from https://translatewiki.net. 2024-01-22 13:15:45 +01:00
dependabot[bot] 4a6bdb6216
chore(deps-dev): bump @commitlint/cli from 18.4.3 to 18.4.4 (#763)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.4.3 to 18.4.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.4/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  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-01-12 00:45:58 -05:00
dependabot[bot] f1c5ee28af
chore(deps-dev): bump @commitlint/config-conventional (#762)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.4.3 to 18.4.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.4/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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-01-11 16:13:10 -05:00
dependabot[bot] 54fae19dac
chore(deps-dev): bump svgo from 3.1.0 to 3.2.0 (#761)
Bumps [svgo](https://github.com/svg/svgo) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](https://github.com/svg/svgo/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: svgo
  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-01-11 16:13:04 -05:00
translatewiki.net 4f2a4619ab Localisation updates from https://translatewiki.net. 2024-01-08 13:14:22 +01:00
translatewiki.net 4e7822c3f1 Localisation updates from https://translatewiki.net. 2024-01-04 13:12:53 +01:00
alistair3149 69ba5d1e34
refactor(core): ♻️ avoid unnessecary declarations 2023-12-29 17:23:48 -05:00
dependabot[bot] d8b83d6996
chore(deps): bump tj-actions/changed-files from 40 to 41 (#758)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v40...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  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>
2023-12-29 17:14:23 -05:00
dependabot[bot] 06b9980a7d
chore(deps-dev): bump stylelint from 16.0.2 to 16.1.0 (#759)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.0.2 to 16.1.0.
- [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/16.0.2...16.1.0)

---
updated-dependencies:
- dependency-name: stylelint
  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>
2023-12-29 17:14:16 -05:00
translatewiki.net 15655ba736 Localisation updates from https://translatewiki.net. 2023-12-21 13:12:56 +01:00
alistair3149 5e575f4c20
feat(core): use CSS variable to define default Citizen font 2023-12-15 15:07:43 -05:00
alistair3149 bdd986db89
fix(core): 🐛 hide pseudo elements instead of deleting them (pt2) 2023-12-15 15:03:13 -05:00
Eisa Ahmed e985f863bc
feat(ar): add support for Arabic fonts through Noto Arabic (#755)
* Added support for Arabic fonts through Noto Naskh Arabic.

* Added Noto Sans Arabic
2023-12-15 00:41:45 -05:00
alistair3149 f9b16d7134
refactor(core): ♻️ hide pseudo elements instead of deleting them
So that it can be reverted by local styles easily
2023-12-13 20:04:20 -05:00
alistair3149 b1556efa88
chore(release): 🚀 2.9.0 2023-12-13 19:19:59 -05:00
alistair3149 e0f9ac1be3
feat(core): make changelist item more readable 2023-12-13 19:16:55 -05:00
alistair3149 0da7d8fe33
fix(core): 🐛 check for read access before attaching manifest
Since the manifest is generated by the MW API, users lacking read access
would not be able to access the manifest.

Closes: #747
2023-12-13 17:47:01 -05:00
alistair3149 b134fbfec5
feat(core): prefer Roboto over language fonts 2023-12-13 17:33:43 -05:00
github-actions dc3ca54d43 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-12-13 22:10:24 +00:00
alistair3149 eee044d145
feat(core): use CSS variable for language-specific fonts 2023-12-13 17:09:57 -05:00
dependabot[bot] a9d2bd9ade
chore(deps-dev): bump svgo from 3.0.4 to 3.1.0 (#753)
Bumps [svgo](https://github.com/svg/svgo) from 3.0.4 to 3.1.0.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](https://github.com/svg/svgo/compare/v3.0.4...v3.1.0)

---
updated-dependencies:
- dependency-name: svgo
  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>
2023-12-13 16:48:15 -05:00
dependabot[bot] 5639ace94c
chore(deps-dev): bump stylelint from 15.11.0 to 16.0.2 (#754)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.11.0 to 16.0.2.
- [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.0.2)

---
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>
2023-12-13 16:48:04 -05:00
translatewiki.net 5ca5e42d8b Localisation updates from https://translatewiki.net. 2023-12-11 13:15:19 +01:00
translatewiki.net 4f3bad787f Localisation updates from https://translatewiki.net. 2023-12-07 13:22:07 +01:00
alistair3149 109779c84c
fix(VE): 🐛 do not invert image in link preview 2023-11-28 16:03:51 -05:00
alistair3149 40fffd6107
fix(mediawiki): 🐛 add missing preferences styles from 1.41 2023-11-28 16:00:07 -05:00
dependabot[bot] ecefab87c2
chore(deps-dev): bump eslint-config-wikimedia from 0.25.1 to 0.26.0 (#746)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.25.1 to 0.26.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.25.1...v0.26.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>
2023-11-25 03:50:33 -05:00
dependabot[bot] 22a87d68a7
chore(deps-dev): bump @commitlint/config-conventional (#744)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.4.0 to 18.4.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.3/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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>
2023-11-22 14:11:24 -05:00
dependabot[bot] 2016f387d4
chore(deps-dev): bump @commitlint/cli from 18.4.1 to 18.4.3 (#745)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.4.1 to 18.4.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.3/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  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>
2023-11-22 01:05:40 -05:00
dependabot[bot] 4cc08f1d10
chore(deps-dev): bump @wikimedia/types-wikimedia from 0.4.1 to 0.4.2 (#743)
Bumps [@wikimedia/types-wikimedia](https://github.com/wikimedia/typescript-types) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/wikimedia/typescript-types/releases)
- [Commits](https://github.com/wikimedia/typescript-types/compare/v0.4.1...v0.4.2)

---
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>
2023-11-22 01:05:30 -05:00
dependabot[bot] 1a0e981d0b
chore(deps-dev): bump svgo from 3.0.3 to 3.0.4 (#742)
Bumps [svgo](https://github.com/svg/svgo) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](https://github.com/svg/svgo/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: svgo
  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>
2023-11-22 01:05:23 -05:00
dependabot[bot] a621671478
chore(deps-dev): bump stylelint-config-recess-order from 4.3.0 to 4.4.0 (#741)
Bumps [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order) from 4.3.0 to 4.4.0.
- [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.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: stylelint-config-recess-order
  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>
2023-11-20 16:07:43 -05:00
alistair3149 f1ddf3206b
feat(core): clean up skin variables load order 2023-11-16 18:23:24 -05:00
alistair3149 21f7cc4001
fix(toc): 🐛 incorrect breakpoints for ToC 2023-11-16 18:05:04 -05:00
github-actions 684f20ac6f ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-11-16 22:56:34 +00:00
alistair3149 60999eb1d9
feat(core): replace breakpoint LESS variables with Codex tokens
Codex tokens are a better implementation and this should ensure consistency across the MW ecosystem.
We have to keep a copy for now as they are introduced in 1.41.

Related: #735
2023-11-16 17:55:59 -05:00
alistair3149 03a23f66f4
chore(release): 🚀 2.8.5 2023-11-16 16:37:38 -05:00
alistair3149 c50a0cd0c1
refactor(core): ♻️ remove unnessecary params 2023-11-15 15:54:21 -05:00
David Lynch 6f5b761fe7
fix(core): let makeSections xpath query cope with multiple classes (#733)
* Let makeSections xpath query cope with multiple classes

As-of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/939783 in mediawiki-core, this class attribute is going to contain multiple classes. This would break the section-creation. This change to the query is backwards-compatible, so this should just inoculate the skin against future updates.

* Shorten line for mediawiki-lint compatibility

* fix: update html selector for parser output

Related: T350627

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-11-15 15:15:25 -05:00