alistair3149
615bd98d81
refactor(core): remove citizen-theme-toggle
message
...
It is no longer used.
2022-05-16 18:16:09 -04:00
alistair3149
c6e9bc44a9
feat(core): use checkboxHack for page actions more menu
...
* use checkboxHack for the menu
* streamline language and more action menu styles and classes
2022-05-16 18:14:35 -04:00
translatewiki.net
8b64adfc22
Localisation updates from https://translatewiki.net .
2022-05-16 13:09:42 +02:00
alistair3149
4bfbbeef39
perf(core): minify languages svg
2022-05-16 00:56:55 -04:00
dependabot[bot]
ecee6318cd
build(deps-dev): bump @commitlint/cli from 16.2.4 to 16.3.0 ( #453 )
...
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli ) from 16.2.4 to 16.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/v16.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 00:54:15 -04:00
dependabot[bot]
a18eff9f0f
build(deps-dev): bump standard-version from 9.3.2 to 9.5.0 ( #454 )
...
Bumps [standard-version](https://github.com/conventional-changelog/standard-version ) from 9.3.2 to 9.5.0.
- [Release notes](https://github.com/conventional-changelog/standard-version/releases )
- [Changelog](https://github.com/conventional-changelog/standard-version/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/standard-version/compare/v9.3.2...v9.5.0 )
---
updated-dependencies:
- dependency-name: standard-version
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>
2022-05-16 00:54:08 -04:00
dependabot[bot]
58071cca14
build(deps): bump tj-actions/changed-files from 19 to 20 ( #455 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 19 to 20.
- [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/v19...v20 )
---
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-16 00:54:05 -04:00
github-actions
b8976790e5
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-16 04:53:33 +00:00
alistair3149
442f241641
feat(core): add language menu to page tools
...
In other language menu and language variant menu are merged into a singular menu
with a toggle in page tools. This is the first step towards having better language
handling in the skin.
2022-05-16 00:50:00 -04:00
github-actions
e725efa531
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-16 01:39:00 +00:00
alistair3149
7756c3447f
refactor(core): clean up SkinMustache polyfill for 1.35
2022-05-15 21:37:39 -04:00
alistair3149
595c748eba
refactor(core): decouple content header from skin.mustache
2022-05-15 20:55:13 -04:00
alistair3149
6c6883bb11
feat(skinStyles): add skinStyles for Interwiki
2022-05-15 17:58:42 -04:00
alistair3149
7cdd049ea9
fix(core): mw-list-item does not exist in older MW
2022-05-13 14:52:20 -04:00
alistair3149
7bfc9f88d7
feat(core): tweak and clean up ToC card styles
2022-05-13 13:42:22 -04:00
alistair3149
03d853c50e
feat(core): change ToC toggle behavior and position
2022-05-13 01:12:52 -04:00
alistair3149
c978bb1320
refactor(core): rename title hidden class
2022-05-13 00:30:46 -04:00
alistair3149
d59ca5c83a
refactor(core): move intersection observer into a module
...
* We will likely use it for other things in the future
* Based on Vector's implementation
* Also do not get toc element twice
2022-05-13 00:26:53 -04:00
alistair3149
23795e05e3
chore(ci): disable mediawiki/class-doc
2022-05-13 00:20:05 -04:00
alistair3149
13a2b710ea
refactor(core): remove duplicated check for ToC
2022-05-12 23:24:32 -04:00
alistair3149
1a86f0f88b
chore(release): 1.16.1
2022-05-12 22:45:04 -04:00
alistair3149
194c73d5bb
style(core): use arrow function
2022-05-12 22:44:17 -04:00
alistair3149
5ff7b4cf90
fix(core): invisible search suggestion item
2022-05-12 22:43:05 -04:00
alistair3149
86150d492d
refactor(core): clean up checkboxHack implementation
...
Mostly based on Vector 2022. Now we target checkbox hacks by the HTML classes
.mw-checkbox-hack-TYPE instead of defining each individually, which would
make it more scalable.
2022-05-12 22:37:28 -04:00
alistair3149
5dc456cc6a
fix(core): incorrect table of content modal location
2022-05-12 21:48:20 -04:00
alistair3149
ac28ef4651
fix(core): undefined toc script
2022-05-12 21:38:15 -04:00
alistair3149
366dcc55b1
feat(skinStyles): style change number text color
2022-05-12 17:43:39 -04:00
alistair3149
508c96ae9d
refactor(core): merge ToC script into core scripts
2022-05-12 17:18:39 -04:00
alistair3149
e0d5eb9657
feat(core): set toc-enabled through Mustache template
...
Since somewhere around MW 1.37, buildSkinFeatures() no longer have access to OutputPage.
That causes $out->isTOCenabled always return null, which makes ToC
broken for any wikis since 1.37. This should fix the issue for now.
More optimizations on the loading behavior will come soon.
2022-05-12 17:01:01 -04:00
alistair3149
d92267f239
refactor(core): deprecate PHP entry point
2022-05-12 16:04:50 -04:00
translatewiki.net
288220d410
Localisation updates from https://translatewiki.net .
2022-05-12 13:09:29 +02:00
alistair3149
478a8396af
refactor(core): merge card content fade animation into mixin
2022-05-11 22:06:33 -04:00
github-actions
a2577db3c8
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-12 01:41:40 +00:00
alistair3149
c69f2927ef
feat(core): set accent-color as primary color
2022-05-11 21:40:27 -04:00
alistair3149
b73357cf7c
feat(core): update checkboxHack API
2022-05-11 21:32:36 -04:00
alistair3149
da26d4bc7f
refactor(core): add null check search button checkbox
2022-05-11 19:08:51 -04:00
alistair3149
0e3ecf1415
feat(core): use relative units for text and spacing
2022-05-11 19:04:52 -04:00
alistair3149
895d7c2398
feat(core): add missing title text to preferences button
2022-05-11 18:47:02 -04:00
alistair3149
c9514d99f3
fix(skinStyles): duplicated entry in skin.json
2022-05-11 18:46:35 -04:00
alistair3149
5614d2abdf
refactor(core): make api/ directory to use PSR-4 autoloading
...
Also make use of the correct namespace
2022-05-11 18:34:25 -04:00
alistair3149
3867f1588a
feat(skinStyles): add grade B support Wikibase ( #439 )
...
Add grade B support for Wikibase.
Wikibase is a massive extension with a lot of legacy styles and jquery dependencies.
There might be missing styles here and there for the initial implementation,
but it should work for now.
2022-05-11 18:01:43 -04:00
alistair3149
d39deb157c
feat(core): make range indicator text smaller
2022-05-10 22:22:31 -04:00
alistair3149
3e051f0d67
feat(core): use relative units for page actions
2022-05-10 22:17:12 -04:00
alistair3149
7ff415db13
feat(core): use relative unit for search suggestion
2022-05-10 22:05:42 -04:00
alistair3149
22450c4804
refactor(core): clean up header variables
2022-05-10 21:58:57 -04:00
alistair3149
cd36ba642e
fix(skinStyles): echo header icons should use relative size
2022-05-10 21:57:20 -04:00
alistair3149
1186bdf102
feat(core): update preferences menu behavior
...
* Adjust font size slider range, it starts at 80% and ends at 180%
* Font size is always shown in percentage now
* Better handling of initial font size, it should now detect browser or site default correctly
* Use relative units
* Tweak styles
2022-05-10 21:45:30 -04:00
alistair3149
9872a820af
feat(core): make header icon background scale to font size
2022-05-10 14:00:28 -04:00
alistair3149
83c935e0f2
chore(release): 1.16.0
2022-05-10 13:43:19 -04:00
alistair3149
9a28bccd64
refactor(core): partial cleanup of header preferences
...
This is a part of the header refactor
* Use styles provided by header
* Clean up header-related HTML classes
2022-05-10 13:39:58 -04:00