Commit graph

4069 commits

Author SHA1 Message Date
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
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