Commit graph

2853 commits

Author SHA1 Message Date
github-actions 1945988d6f ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-30 21:02:42 +00:00
alistair3149 8c888a7e1f
feat(core): make tables responsive without breaking table layout
Instead of a CSS solution used previously, switch to a JS solution to wrap tables.
This should ensure the table renders correctly and also scrollable.
This lays the groundwork for making table more user-friendly in the future.
2023-04-30 17:01:29 -04:00
github-actions 1b8049628a ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-28 16:15:13 +00:00
alistair3149 567fc811ea
fix(RelatedArticles): 🐛 larger min-height to trigger lazyload
RA needs a larger min-height to trigger the script to load the cards
2023-04-28 12:14:04 -04:00
dependabot[bot] d7626069fa
chore(deps-dev): update mediawiki/mediawiki-phan-config requirement (#614)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-phan/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-phan-config
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 12:48:30 -04:00
translatewiki.net 560b9995e3 Localisation updates from https://translatewiki.net. 2023-04-24 13:13:58 +02:00
dependabot[bot] cc4d9cfe08
chore(deps-dev): bump @commitlint/cli from 17.6.0 to 17.6.1 (#613)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.0 to 17.6.1.
- [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/v17.6.1/@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-04-17 02:49:12 -04:00
dependabot[bot] c24d4af4ca
chore(deps-dev): bump @commitlint/config-conventional (#612)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.4.4 to 17.6.1.
- [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/v17.6.1/@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>
2023-04-14 13:50:52 -04:00
dependabot[bot] 217f5ae4f2
chore(deps-dev): bump @commitlint/cli from 17.5.1 to 17.6.0 (#610)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.5.1 to 17.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/v17.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>
2023-04-14 13:48:02 -04:00
github-actions 3ad4d62eef ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-14 17:30:33 +00:00
alistair3149 612382f567
fix(core): 🐛 avoid double spacing between notice and content 2023-04-14 13:29:15 -04:00
github-actions 350041c5f7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-05 17:51:09 +00:00
alistair3149 fe4f4a91d2
feat(core): only apply title transform to content namespaces 2023-04-05 13:50:14 -04:00
alistair3149 a04e17884c
chore(release): 🚀 2.4.4 2023-04-03 12:55:08 -04:00
alistair3149 aaa82d06ef
feat(search): trigger typeahead update when character is composed
Only trigger an update when the character is fully composed.
Examples include various CJK IMEs

Closes: #608
2023-04-03 12:48:10 -04:00
alistair3149 84246c503d
refactor(search): ♻️ do not pass messages var around 2023-04-03 11:52:38 -04:00
translatewiki.net 598884744c Localisation updates from https://translatewiki.net. 2023-04-03 13:18:23 +02:00
dependabot[bot] c0b1de9046
chore(deps-dev): bump @commitlint/cli from 17.5.0 to 17.5.1 (#607)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.5.0 to 17.5.1.
- [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/v17.5.1/@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-03-28 21:22:46 -04:00
github-actions 2b1445ae11 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-03-29 00:43:03 +00:00
Roan Kattouw 6b8ff22383
fix(codex): update button classes for type->weight change (#606)
* fix(codex): Update button classes for type->weight change

In Codex v0.7.0, the CSS class used for primary buttons changed from
cdx-button--type-primary to cdx-button--weight-primary, type-normal
changed weight-normal, and type-quiet changed to weight-quiet. Update
codex.styles.less accordingly.

See https://phabricator.wikimedia.org/T312987 for more details.

* fix(codex): keep --type for 1.39 compatibility

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-03-28 20:41:55 -04:00
alistair3149 497f2e6058
refactor(core): ♻️ deprecate wfExpandUrl in favor of UrlUtils
Related: T319340
2023-03-27 14:45:08 -04:00
alistair3149 90890de53f
feat(core): add config flag to disable preferences menu 2023-03-27 14:08:38 -04:00
alistair3149 b47f2658c7
fix(core): 🐛 remove redundant override for image height
There is no need for important for image height.
This should also fix the issue where inline height are being overriden.
Fix: #605
2023-03-27 13:48:29 -04:00
alistair3149 daf5b3d07f
fix(RelatedArticles): enforce min-height for RA to render
RA needs a min-height to trigger the JS to render the cards
2023-03-27 13:41:23 -04:00
dependabot[bot] 791df175b6
chore(deps-dev): bump @commitlint/cli from 17.4.4 to 17.5.0 (#604)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.4 to 17.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/v17.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>
2023-03-23 21:48:05 -04:00
alistair3149 918cb7ff87
chore(release): 🚀 2.4.3 2023-03-20 12:22:10 -04:00
alistair3149 015b1e1b9a
fix(core): 🐛 respect config flag for default theme
This should fix the issue where CitizenThemeDefault is not working
2023-03-20 12:21:46 -04:00
translatewiki.net 1bc6590b0f Localisation updates from https://translatewiki.net. 2023-03-20 13:15:36 +01:00
alistair3149 787ecc3fca
fix(CodeMirror): use same font as edit font
This should fix the alignment issue with the syntax highlight overlay
2023-03-18 22:45:32 -04:00
translatewiki.net 4b82c2cefc Localisation updates from https://translatewiki.net. 2023-03-09 13:11:32 +01:00
translatewiki.net b183bb7ac7 Localisation updates from https://translatewiki.net. 2023-03-02 13:13:38 +01:00
alistair3149 ba50defaba
refactor(core): ♻️ make typeahead items more reusuable 2023-03-01 16:31:42 -05:00
alistair3149 2a6e65b265
feat(RelatedArticles): add border to RA cards 2023-03-01 16:14:07 -05:00
alistair3149 68313123e9
feat(core): apply box-sizing: border-box by default 2023-03-01 16:08:07 -05:00
alistair3149 0b7c72ca5e
fix(search): 🐛 align typeahead with input 2023-03-01 15:34:50 -05:00
alistair3149 b8a1d9c224
refactor(search): ♻️ simplify typeahead styles 2023-03-01 15:27:43 -05:00
github-actions 65304f99af ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-03-01 20:03:56 +00:00
alistair3149 235a76c2bd
feat(core): add border to Citizen cards 2023-03-01 15:02:34 -05:00
github-actions 9e15415835 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00
alistair3149 19ddd61e19
feat(core): clean up print styles 2023-02-28 16:58:35 -05:00
alistair3149 51a11f336c
refactor(core): ♻️ simplify body formatter implementation
- Use Mustache body content instead of building from scratch
- SubHeadings should only be created when sections can be created
- Remove wrapHTMLPublic as it is no longer needed
2023-02-28 16:21:50 -05:00
dependabot[bot] f1ac9fa65f
chore(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#600)
Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-codesniffer/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v40.0.1...v41.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 14:54:07 -05:00
dependabot[bot] a595d1f139
chore(deps-dev): bump stylelint-config-wikimedia from 0.13.1 to 0.14.0 (#599)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.13.1...v0.14.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>
2023-02-23 21:25:15 -05:00
alistair3149 0543a54c32
chore(release): 🚀 2.4.2 2023-02-22 15:13:12 -05:00
alistair3149 ddb425c4bb
fix(core): 🐛 responsive thumbnail on new media structure 2023-02-22 15:12:06 -05:00
alistair3149 54c8717d45
refactor(core): ♻️ simplify menu header implementation 2023-02-22 14:47:32 -05:00
dependabot[bot] c7ebe52dfc
chore(deps-dev): bump @commitlint/cli from 17.4.3 to 17.4.4 (#595)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.3 to 17.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/v17.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>
2023-02-22 14:01:07 -05:00
dependabot[bot] 75bb3dd67e
chore(deps-dev): bump jsdoc from 4.0.1 to 4.0.2 (#597)
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.2/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.1...4.0.2)

---
updated-dependencies:
- dependency-name: jsdoc
  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-02-22 13:55:29 -05:00
dependabot[bot] c837516853
chore(deps-dev): bump @commitlint/config-conventional (#596)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.4.3 to 17.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/v17.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>
2023-02-22 13:55:11 -05:00
github-actions db4e6a3867 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-17 05:25:36 +00:00