Commit graph

3189 commits

Author SHA1 Message Date
github-actions 7b349faa73 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-09-11 00:52:03 +00:00
alistair3149 45a726d77f
fix(core): 🐛 stricter selector for collasible headers in formatter 2023-09-10 20:51:28 -04:00
dependabot[bot] 2fc6970a91
chore(deps-dev): update mediawiki/mediawiki-phan-config requirement (#717)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.1...0.13.0)

---
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-09-10 20:43:04 -04:00
alistair3149 a6a9fe27e4
fix(core): 🐛 stricter selector for collapsible header 2023-09-10 19:19:31 -04:00
alistair3149 2f40541bc4
feat(core): prefix citizen section classes 2023-09-10 19:00:52 -04:00
alistair3149 2a2d6e381f
fix(search): 🐛 show presult during init 2023-09-10 16:38:04 -04:00
translatewiki.net aeef4c9861 Localisation updates from https://translatewiki.net. 2023-09-07 13:20:53 +02:00
alistair3149 68dc715138
fix(search): 🐛 search icon clipping 2023-09-06 17:41:42 -04:00
alistair3149 e973f5fdb1
chore(release): 🚀 2.8.2 2023-09-06 17:38:08 -04:00
alistair3149 e8f33bdf93
fix(search): 🐛 make search input selectable 2023-09-06 17:34:47 -04:00
alistair3149 6f3d82de04
feat(search): only show edit page action if user has rights
That only works for the main namespace fow now.
2023-09-06 17:33:39 -04:00
dependabot[bot] bfea9663a8
chore(deps): bump tj-actions/changed-files from 38 to 39 (#716)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 38 to 39.
- [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/v38...v39)

---
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-09-05 01:44:22 -04:00
dependabot[bot] b5cb971d51
chore(deps): bump actions/checkout from 3 to 4 (#715)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-09-05 01:44:13 -04:00
translatewiki.net 7e2b72c6ae Localisation updates from https://translatewiki.net. 2023-09-04 13:13:59 +02:00
alistair3149 363144d172
refactor(search): ♻️ rearrange mwActionApi URL params 2023-08-30 10:32:32 -04:00
alistair3149 31042804df
fix(search): 🐛 incorrect thumbnail icon width 2023-08-30 10:31:26 -04:00
alistair3149 dc072f4e5b
refactor(search): ♻️ make search action into a module
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2023-08-29 20:05:44 -07:00
alistair3149 680d84cfb0
refactor(search): ♻️ rename helper text message keys 2023-08-29 19:39:13 -07:00
alistair3149 3d31d08021
feat(search): add suggestion to edit page 2023-08-29 19:37:17 -07:00
alistair3149 969f4f0d3d
feat(search): various tweaks to typeahead styles 2023-08-29 12:32:28 -07:00
alistair3149 2d54cbd930
feat(search): add missing border between placeholder and group 2023-08-29 02:25:56 -07:00
alistair3149 9280e7c4a8
feat(search): only add divider between groups 2023-08-29 02:23:57 -07:00
alistair3149 1f0a2e5133
feat(search): reorganize DOM structure of the typeahead 2023-08-29 01:50:55 -07:00
alistair3149 b33d5bbc87
refactor(search): ♻️ rename typeaheadItems to htmlHelper 2023-08-28 19:20:44 -07:00
alistair3149 325f22f0dd
fix(core): 🐛 fire input event when search query is cleared 2023-08-28 18:36:51 -07:00
alistair3149 bf0ed2bd55
refactor(search): ♻️ use faux element to display search query 2023-08-28 18:22:16 -07:00
alistair3149 cb02307cda
feat(search): only change search input font size for mobile Safari 2023-08-27 02:00:37 -07:00
alistair3149 ff446e61b3
refactor(search): ♻️ use option role to select user-selectable items 2023-08-27 00:50:10 -07:00
alistair3149 96cf5be48c
feat(search): only add divider between suggestions and footer 2023-08-26 16:48:28 -07:00
alistair3149 0c0f4f4ffb
feat(search): strip wikitext link syntax in search 2023-08-25 18:00:55 -07:00
alistair3149 2fa1e4b51e
chore(release): 🚀 2.8.1 2023-08-25 17:37:01 -07:00
alistair3149 2f2dc3328c
feat(search): search template namespace when template syntax {{}} is used 2023-08-25 17:28:39 -07:00
alistair3149 96f6361851
feat(core): use quiet hover color for menu items 2023-08-25 17:03:38 -07:00
alistair3149 d62bdca69c
refactor(core): ♻️ update title class to use the newer standard 2023-08-25 16:52:58 -07:00
H. C. Kruse 661ad61486
ci: add PHPUnit tests (#712)
* ci: WIP add PHP Unit Tests

* ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details

* ci: Add phpunit tests

---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2023-08-25 14:39:37 -07:00
dependabot[bot] 1ee98e9cae
chore(deps): bump tj-actions/changed-files from 37 to 38 (#709)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37 to 38.
- [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/v37...v38)

---
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-08-25 14:37:26 -07:00
alistair3149 cb5f4a065b
fix(StructuredDiscussion): 🐛 merge skinStyles into the same RL module
Related: T292245
Closes: #711
2023-08-24 22:22:58 -07:00
github-actions 4b1128b3b7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-08-25 00:57:30 +00:00
alistair3149 b350660f4c
refactor(core): ♻️ use namespaced title class
Bumped minimum MW requirements to 1.39.4 as it is nessecary.
Related: T166010, T338114
2023-08-24 17:56:42 -07:00
alistair3149 853e9a9190
feat(search): increase description extract character limit to 100 2023-08-24 15:30:03 -07:00
alistair3149 042f2bfbba
feat(search): use square aspect ratio for suggestion thumbnail 2023-08-24 15:23:46 -07:00
alistair3149 1cfe3cdfc8
fix(core): 🐛 catch IntlException for NumberFormatter
This should at least avoid Citizen throwing an exception.
However, it won't address the root cause of the issue.

Closes #474
2023-08-24 14:58:10 -07:00
alistair3149 2c1940c4bb
fix(search): 🐛 search history URL should not force fulltext 2023-08-23 21:26:34 -07:00
alistair3149 590d610363
chore(release): 🚀 2.8.0 2023-08-23 17:44:26 -07:00
alistair3149 f6d3fc95e3
feat(search): add search history to initial state 2023-08-23 17:44:01 -07:00
alistair3149 bd41516190
fix(search): 🐛 do not add empty term to search history 2023-08-22 14:21:06 -07:00
github-actions 2ed6b71165 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-08-22 21:03:44 +00:00
alistair3149 dc9f6f034c
feat(core): tweak more menu spacing 2023-08-22 14:02:50 -07:00
dependabot[bot] d17f39d053
chore(deps-dev): bump stylelint-config-wikimedia from 0.16.0 to 0.16.1 (#708)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.16.0 to 0.16.1.
- [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/commits)

---
updated-dependencies:
- dependency-name: stylelint-config-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-08-22 06:40:10 -04:00
dependabot[bot] d0b74ecf83
chore(deps-dev): bump stylelint from 15.10.2 to 15.10.3 (#707)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.2 to 15.10.3.
- [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.10.2...15.10.3)

---
updated-dependencies:
- dependency-name: stylelint
  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-08-22 06:40:01 -04:00