Commit graph

2981 commits

Author SHA1 Message Date
github-actions 070b7c998a ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-06 22:14:01 +00:00
alistair3149 7a30e6c961
chore(deps-dev): 🔧 remove jsdoc-related dependencies
They are not used and presented as a security risk.
2023-05-06 18:13:08 -04:00
alistair3149 801eb9a13b
fix(core): 🐛 add gap between footer icons under the same li 2023-05-06 18:07:21 -04:00
alistair3149 09ffed668d
fix(core): 🐛 ensure loading indicator is removed when script is loaded 2023-05-06 17:51:41 -04:00
github-actions bedfa3a571 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-06 04:31:50 +00:00
alistair3149 838a7f5100
fix(core): 🐛 do not resize image in table
That seems to only happen with the new media format
2023-05-06 00:30:37 -04:00
alistair3149 35821b62ae
feat(core): more saturated base text color 2023-05-05 10:22:32 -04:00
alistair3149 cd93b3d679
feat(core): ignore cargo dynamic table for table wrapper 2023-05-02 01:09:54 -04:00
alistair3149 79daca474a
feat(core): ignore dataTable for table wrapper
It seems that dataTable collide with the wrapper for some reason.
Looking for help on this one if anyone knows.
2023-05-02 00:32:07 -04:00
github-actions 7e20e2d8da ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-02 04:03:32 +00:00
alistair3149 c2922f6ba2
feat(core): switch page-container to flex layout 2023-05-02 00:02:25 -04:00
alistair3149 661fbf0b8f
feat(core): do not wrap changelist tables 2023-05-01 23:34:18 -04:00
alistair3149 fdc79cbb74
chore(release): 🚀 2.5.1 2023-05-01 15:13:01 -04:00
alistair3149 e139df6a24
feat(TemplateData): add style for TemplateData button in VE 2023-05-01 15:10:41 -04:00
alistair3149 587cea1ee9
feat(core): check parent container for table nowrap class 2023-05-01 14:50:48 -04:00
alistair3149 3d14f9cf0b
feat(core): do not wrap nested tables 2023-05-01 14:45:08 -04:00
alistair3149 c10dd046c3
refactor(core): ♻️ minor variable name cleanup 2023-05-01 03:08:08 -04:00
github-actions 8d044aea95 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-01 06:38:27 +00:00
alistair3149 81affb88f1
feat(core): ignore infobox class for table wrapper 2023-05-01 02:37:32 -04:00
github-actions 8bd678a180 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-01 06:24:37 +00:00
alistair3149 d1d49e62d5
feat(core): inherit float classes to table wrapper
So that table would have the correct float style
2023-05-01 02:23:40 -04:00
github-actions ee90992a89 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-01 06:06:54 +00:00
alistair3149 b2eaf0a41a
feat(core): add HTML class to disable table wrapper
Adding the class `.citizen-table-nowrap` will stop Citizen from adding wrapper to the table
2023-05-01 02:05:58 -04:00
dependabot[bot] 6afb1bb895
chore(deps-dev): bump eslint-config-wikimedia from 0.24.0 to 0.25.0 (#618)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/eslint-config-wikimedia/compare/v0.24.0...v0.25.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-04-30 21:30:27 -04:00
alistair3149 56c70f227f
chore(release): 🚀 2.5.0 2023-04-30 20:05:06 -04:00
github-actions 1f5f72ed15 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-30 23:55:44 +00:00
alistair3149 e45af9bbbe
feat(core): add scroll affordance to tables 2023-04-30 19:54:31 -04:00
alistair3149 ce9963467d
refactor(core): ♻️ load content scripts using wikipage.content hook 2023-04-30 18:01:53 -04:00
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