update from upstream repo #2

已合并
WaitSpring 2022-12-02 21:09:59 +08:00 将 261 次代码提交从 Mirror/mediawiki-skins-Citizen:main 合并至 main
管理员
没有提供说明。
WaitSpring2022-12-02 21:08:43 +08:00 推送了 261 个提交
2c3db10bb9 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
bc8d1a320f
feat(pwa): use standalone mode
Now with the loading indicator back in, we can use standalone mode
4f651b41ca
feat(pwa): add basic support for service worker
This is super basic and experimental.
It will be expanded upon in the future, but for now it will satisfy the
requirement for PWA
4979310897 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
887a184655
build(deps-dev): bump svgo from 2.8.0 to 3.0.0 (#534)
Bumps [svgo](https://github.com/svg/svgo) from 2.8.0 to 3.0.0.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](https://github.com/svg/svgo/compare/v2.8.0...v3.0.0)

---
updated-dependencies:
- dependency-name: svgo
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f8b2153df4
build(deps): bump tj-actions/changed-files from 32 to 33 (#535)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 32 to 33.
- [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/v32...v33)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9b9b3613c3
feat(core): reduce scroll top padding
This should place the scroll target close to content header
b89873d99c
feat(fonts): add Noto Sans CJK font support
This is by default disabled since it is only used for wikis with CJK language,
and also it adds around 100kb to the startup stylesheet. The fonts are subsetted
with Google Fonts slicing pattern, so it should be performance friendly
56b4ba76e6 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
8e272a5bd4
feat(font): replace RobotoVF with RobotoFlex
* Subset using Google Fonts unicode range
* Include opsz and GRAD axis
4cf6ab5776 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
3f84ea2cfd
build(deps-dev): bump @commitlint/config-conventional (#537)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.1.0 to 17.2.0.
- [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.2.0/@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5e30bd30c5
build(deps): bump tj-actions/changed-files from 33 to 34 (#536)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 33 to 34.
- [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/v33...v34)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
219b92a575
build(deps-dev): bump @commitlint/cli from 17.1.2 to 17.2.0 (#538)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.1.2 to 17.2.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.2.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4f7f4c3186
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#539)
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/v39.0.0...v40.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
db9065f88e
feat(core): use fixed height for header card
This will avoid overflowing and also leave some affordance to close the card
4b108da3d9 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
af85fb4b40
fix(search): hide default MW search suggestion
Sometimes the JS is not able to stop the search module from loading.
We can use CSS to hide the suggestion for now.
b5de7214d0
build(deps-dev): bump jsdoc from 3.6.11 to 4.0.0 (#540)
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.11 to 4.0.0.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/main/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.11...4.0.0)

---
updated-dependencies:
- dependency-name: jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
029361b066
feat(core): scroll instead of wrap pre block
It makes code blocks more readable and more inline with other sites
15f13d9ebe ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
ab56bff4c3
build(deps-dev): bump husky from 8.0.1 to 8.0.2 (#542)
Bumps [husky](https://github.com/typicode/husky) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4614a41ff9
build(deps-dev): bump svgo from 3.0.0 to 3.0.1 (#544)
Bumps [svgo](https://github.com/svg/svgo) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](https://github.com/svg/svgo/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: svgo
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dd9b6313b6
build(deps-dev): bump svgo from 3.0.1 to 3.0.2 (#547)
Bumps [svgo](https://github.com/svg/svgo) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](https://github.com/svg/svgo/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: svgo
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
04808c9abe
refactor: ♻️ do not manually specify templateDirectory
There is no need in 1.39 anymore
cf653a32a0
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
409c9ad342
refactor(core): ♻️ drop deprecated legacy feature (#437)
From 1.39 the legacy feature is dropped.
In 1.40+ this might throw exceptions so wanted to make sure this is on
your radar (but likely not a priority since you are not supporting 1.38 yet).

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
a123c64efa
refactor(core): ♻️ drop mediawiki.toc remover fallback
mediawiki.toc does not exist in 1.39 anymore.
7c50ed320d
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
fb9b17108d
style(core): 🎨 rename site tools to global tools
So that it aligns with the naming scheme from Desktop Improvements
7b3e696f7b
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
d234ece146
feat(core): put non-header elements into a container
Just more sanity and easier to customize header
9325a4e2be
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
be18ec8f0d
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
6be1cb3571
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2079f760d4
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
f12218c0dc
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
0c7c795484
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
a703726d1e
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
c03308ad59
feat(core): style namespace differently in page title
Thanks to T306440, it is finally possible without parsing the title
9232c91352
feat(core): deprecate preconnect
Deprecating due to low usage. It was originally used for external assets
like analytics, but that should really be done through the extension instead
of the skin.
bc57222ce6
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
969cd787d6
feat(core): use different font weight in different themes
The same font weight do not provide the same contrast in different themes.
We should be able to change the scaling
159bd8a7d2
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
07d39c17dc
feat(font): use GRAD instead of font-weight to adjust contrast
font-weight have the issue of changing the width of text, while GRAD does not
0059c2c2ff
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
28e343867d
refactor(core): ♻️ remove unused siteinfo styles
It is no longer present in the skin
ce25c752b6
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
6e3727f8f3
feat(core): remove icons from navigation menu
It is weird that there are only a few links with icon.
Removing it temporarily until we have a better solution to apply icon to everything
9eeca3619a
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
45a2002b8c
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
31c43fa33b
refactor(core): ♻️ do not init observer when not needed
Do not init scroll observer if sentinel is set to display:none
2e89d41b37
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
69c0ac69f0
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2d5246a8a6
feat(core): update wikitable styles
When the wikitable style is first implemented, it didn't take consideration
of different usage out there. For example, it doesn't work well with complex
table or table cell background. This should make it more usable for wikis
out there.
f7094d1a72
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
92e6cfa733
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
224c117f65
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
8e5daddb9c
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
528d0077dc
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
4e26241669
docs(readme): 📚️ wfLoadSkin should be below all extensions
So that the skin can add icons to menus after extensions added their links
6357f22de4 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
beab3a5aa8
chore(deps-dev): bump @commitlint/config-conventional (#549)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.2.0 to 17.3.0.
- [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.3.0/@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fb10f0eeb2
chore(deps-dev): bump @commitlint/cli from 17.2.0 to 17.3.0 (#550)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.2.0 to 17.3.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.3.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
027e298e1e
feat(typography): do not change GRAD axis
It seems that browsers don't have a standard for GRAD.
Sometimes it is too thin  and sometimes it is too thick
81eadf9c8d
perf(core): ️ replace getElementsByTagName() with DOMCompat::querySelectorAll()
Should help with performance quite a bit
Bug: T317070
c634a934bd ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
a078508771
docs(readme): update feature description
More concise on what extension style means
e261abf8b5
fix(core): 🐛 clean up leftover drawer script references (#554)
Drawer sub search was removed earlier in a commit to refactor the drawer,
this commit is to clean up leftover references
323acda0b1
feat(core): add icon to all talk page buttons
Talk page keys in the associated page array can vary based on namespace.
This commit will match keys end with 'talk' and match them to the speechBubble icon.
WaitSpring 已合并提交 8bc822b016main 2022-12-02 21:09:59 +08:00
登录 并参与到对话中。
无审核者
未选择标签
未选择里程碑
未指派成员
1 名参与者
通知
到期时间
到期日期无效或超出范围。请使用 'yyyy-mm-dd' 格式。

未设置到期时间。

依赖工单

没有设置依赖项。

参考:Fork/mediawiki-skins-Citizen#2
没有提供说明。