Commit graph

2216 commits

Author SHA1 Message Date
alistair3149 9d8a631f44 fix(core): delay blur event for search suggestions
This is a hacky way to fix fix #404 and #410. By introducing a delay to
the function to dismiss the suggestions, users on Safari should be able
to click the link properly.
2022-06-03 22:35:45 -04:00
dependabot[bot] f505f30b89
build(deps): bump tj-actions/changed-files from 22.1 to 22.2 (#473)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 22.1 to 22.2.
- [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/v22.1...v22.2)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  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>
2022-06-03 12:24:54 -04:00
alistair3149 65be4e826d
feat(skinStyles): minor style tweak for RecentChanges 2022-06-02 20:21:18 -04:00
alistair3149 0ffc78ce9e
fix(core): add missing plainlinks styles 2022-06-02 16:13:45 -04:00
alistair3149 8ec0400b1a
feat(core): simplify page header spacing 2022-06-02 14:40:31 -04:00
alistair3149 e4eaffdf1a chore(release): 1.17.5 2022-06-02 12:59:43 -04:00
github-actions 40fdbbb494 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-06-02 16:59:15 +00:00
alistair3149 d7d512c6d4 feat(skinStyles): add grade B support for RevisionSlider 2022-06-02 12:58:15 -04:00
alistair3149 dca529b164 feat(core): add bottom margin to page header 2022-06-02 12:58:15 -04:00
github-actions a70503b2ec ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-06-02 16:41:44 +00:00
alistair3149 2853a05d8f
fix(skinStyles): move personal menu ULS button styles to the right module 2022-06-02 12:39:54 -04:00
alistair3149 9000a4e326
fix(skinStyles): prevent diff table from overflowing the page 2022-06-02 12:35:03 -04:00
alistair3149 47069b613c
feat(skinStyles): do not lazyload OOUI font size with skinStyles
Changing the OOUI font size in skinStyles would cause a significant layout shift
because the styles are lazyloaded. OOUI is designed around a based font size of 14px
in mind, so we should obey that. Hopefully WMF will revisit OOUI during T254055, then
this hack can be removed.
2022-06-02 12:13:48 -04:00
alistair3149 4645cdeea7
feat(skinStyles): tweak page diff styles
Closes: #472
2022-06-02 11:58:23 -04:00
alistair3149 4fbe09f212
feat(core): tweak category links styles 2022-06-02 11:48:42 -04:00
alistair3149 b05a2e8221
feat(skinStyles): tweak ULS trigger styles 2022-06-02 11:28:13 -04:00
alistair3149 a20e0dc5b2
fix(core): define template path in constructor instead
1.35 seems to not like relative path inside skin.json
2022-06-02 11:07:55 -04:00
alistair3149 2f6d383d9e
fix(core): use z-index on popup only to avoid clipping
Also:
* Remove unnessecary margin on mw-body-header
* Move the extra mw-body margin to mw-body-header, as there can be other elements in mw-body
2022-06-02 10:57:19 -04:00
alistair3149 c6b8ba9e80
fix(core): source edit button should not collapse itself when VE is selected 2022-06-02 10:51:30 -04:00
alistair3149 681f4fd9fa
refactor(core): only get user-related stats when user is registered 2022-06-02 10:46:14 -04:00
alistair3149 756e398242
fix(core): check if user is registered before getting edit count
getEditCount() throws an exception if the user is not registered before 1.37
2022-06-02 10:37:31 -04:00
dependabot[bot] e9566c3907
build(deps-dev): bump @commitlint/config-conventional (#471)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.0.0 to 17.0.2.
- [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.0.2/@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>
2022-06-02 03:41:37 -04:00
dependabot[bot] 817cf30b5e
build(deps-dev): bump @commitlint/cli from 17.0.1 to 17.0.2 (#470)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.0.1 to 17.0.2.
- [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.0.2/@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>
2022-06-02 03:00:46 -04:00
dependabot[bot] 4158cd63a1
build(deps): bump tj-actions/changed-files from 21 to 22.1 (#469)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 21 to 22.1.
- [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/v21...v22.1)

---
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>
2022-05-31 20:35:12 -04:00
alistair3149 cfc71c05dc
feat(core): use default MW gallery styles
It seems that a lot of wiki admins prefer the default wiki gallery styles over
the Citizen defined one. Let's not change the gallery behavior too much in the
skin.

Closes: #413, #467
2022-05-31 19:37:09 -04:00
alistair3149 982cb8c7ba
fix(skinStyles): add missing Echo dark styles
Closes #468
2022-05-31 19:15:06 -04:00
translatewiki.net e6986f5181 Localisation updates from https://translatewiki.net. 2022-05-30 13:10:39 +02:00
github-actions da03fa550a ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-05-28 18:30:36 +00:00
alistair3149 0a68a178cc
refactor(core): use array_merge to get sidebar for toolbox
Spread syntax is not supported before PHP 7.4
2022-05-28 14:26:32 -04:00
alistair3149 828f9f7c95 chore(release): 1.17.4 2022-05-26 18:27:14 -04:00
alistair3149 09e3aeb2ea
refactor(core): remove unnessecary ConfigRegistry 2022-05-26 18:23:47 -04:00
alistair3149 53ef5f0543
refactor(core): use core responsive mode for MW 1.36+
Use core responsive mode for MW 1.36+, and polyfill for MW 1.35
2022-05-26 18:12:08 -04:00
alistair3149 c49b8a8594
refactor(core): define templateDirectory in skin.json instead 2022-05-26 18:05:21 -04:00
alistair3149 ba87e4dcba fix(core): invalid class name for RL config callback 2022-05-26 18:00:08 -04:00
github-actions ba8f4fa865 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-05-26 21:59:04 +00:00
alistair3149 11c50a5669
refactor(core): remove redundant message keys 2022-05-26 17:57:57 -04:00
alistair3149 4d7fecc299
refactor(core): clean up polyfilled Mustache template data
Clean up Mustache-related polyfill for 1.35 against 1.39,
in preparation of the 1.39 refactor
2022-05-26 17:33:59 -04:00
github-actions 52d6e0afd5 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-05-26 21:00:50 +00:00
alistair3149 58d85ff426 refactor(core): normalize PHP namespaces used in Citizen
Related: T303102
2022-05-26 16:58:14 -04:00
dependabot[bot] 572e376b06
build(deps): bump tj-actions/changed-files from 20 to 21 (#465)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 20 to 21.
- [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/v20...v21)

---
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>
2022-05-26 14:14:25 -04:00
dependabot[bot] 5e53d29fe0
build(deps-dev): bump @commitlint/cli from 17.0.0 to 17.0.1 (#464)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.0.0 to 17.0.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.0.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>
2022-05-26 14:14:15 -04:00
translatewiki.net bea9a5144d Localisation updates from https://translatewiki.net. 2022-05-26 13:11:37 +02:00
alistair3149 215e043f54
style(core): minor cleanup for the preference module 2022-05-25 16:38:39 -04:00
alistair3149 7b810b2389
fix(core): incorrect z-index for the inner header container
Also fix the undefined LESS variable in the Echo skinstyle
2022-05-25 16:01:21 -04:00
alistair3149 320b28c6d9
fix(core): call to member function null in user tagline 2022-05-24 18:18:23 -04:00
alistair3149 0a0456db97
fix(skinStyles): incorrect file path for DiscussionTools 2022-05-24 17:56:14 -04:00
alistair3149 6f7f548680
feat(core): only use overflow when needed for mw-body
Assigning overflow property that is not clip will block position:sticky from working.
Instead, Citizen will only apply overflow:clip with a fallback to hidden in smaller viewport.
2022-05-23 18:18:53 -04:00
alistair3149 c5c822745d
docs: use English Star Citizen Wiki as live demo site
As it is more updated compared to the German wiki now
2022-05-23 16:14:07 -04:00
alistair3149 f89cc6ba05 chore(release): 1.17.3 2022-05-23 16:12:32 -04:00
alistair3149 21633dcd3c
feat(core): separate header from personal menu list 2022-05-23 16:10:14 -04:00