Commit graph

2129 commits

Author SHA1 Message Date
alistair3149 8f5a50af30
chore: regenerate lock file 2022-04-26 12:40:54 -04:00
github-actions 0a6cf86486 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-26 16:25:56 +00:00
alistair3149 01e783187f style: use tabs instead of spaces in package.json 2022-04-26 12:24:39 -04:00
alistair3149 cbc95c36b3 chore(release): 1.13.0 2022-04-26 12:19:45 -04:00
alistair3149 69ef0ed68c
chore: add additional config for standard-release 2022-04-26 12:19:22 -04:00
alistair3149 e71225be1b chore: use standard-version to generate changelog 2022-04-26 12:10:33 -04:00
alistair3149 309ae7cec9
chore: enforce conventional commit at git commit 2022-04-26 12:06:20 -04:00
alistair3149 47e3e5c0ca
build: bump to 1.13.0 2022-04-25 22:33:35 -04:00
alistair3149 96013bb126
feat: deprecate --background-color-dp-XX in favor of --color-surface-X
--background-color-dp-XX is now fully deprecated in favor of a simpler 4 color surface system. It can be accessed through the --color-surface-X CSS var.
2022-04-25 22:27:52 -04:00
alistair3149 fed5369847
fix: add null check for checkboxObj.target
It should no longer throw an exception which causes other script to fail

Closes #432
2022-04-25 21:48:52 -04:00
alistair3149 fd0346bebb
docs: add link to the adapting Citizen style wiki page 2022-04-25 21:29:20 -04:00
alistair3149 2c79c061c4 feat: pass styles as style element instead of inline 2022-04-25 20:34:40 -04:00
alistair3149 00f35a7fab
build: bump to 1.12.1 2022-04-25 02:04:57 -04:00
alistair3149 7dbbc6b777
fix: add null check for user tagline
$editCount can return as null sometimes and throw an error
2022-04-25 02:03:13 -04:00
alistair3149 9041cc6f22
feat: tweak category styles 2022-04-24 15:38:17 -04:00
alistair3149 f5d280e4c3
fix: remove indentations 2022-04-24 15:34:43 -04:00
alistair3149 47e1259bc3
feat: implement a more adaptive smooth shadow
* Looks more natural
* Can be customized through the surface-shadow and shadow-strength CSS var
* Light mode and dark mode have been different shadow now, it should be more visible in dark mode
* Box-shadow is a CSS var, which can be used in templates and wiki CSS
2022-04-24 15:24:09 -04:00
alistair3149 f05295195a feat: move discussion to the top of the more menu
Also clean up some related-styles
2022-04-24 01:53:47 -04:00
github-actions 2cd9efa4d9 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-24 00:27:06 +00:00
alistair3149 3c729928d2
feat: sitestats should show exact number when it is <10000 2022-04-23 20:26:05 -04:00
alistair3149 318ca23ad0
build: bump to 1.12.0 2022-04-23 01:32:50 -04:00
github-actions 673445c718 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-23 05:32:12 +00:00
alistair3149 a8485ac76a
fix: remove unused debug code 2022-04-23 01:31:22 -04:00
alistair3149 6217bad7c0 feat: implement RTL icons 2022-04-23 01:30:02 -04:00
alistair3149 6efff7f5da feat: revamp drawer header
* wgLogo is always visible in the drawer
* Increase the size of wiki name
* Sitestats will now format large numbers into human readable formats (e.g. 12.2K, 3M, etc.)
* Sitestats now use icons instead of text as labels
* Remove wordmark for now, will revisit later
2022-04-23 01:30:02 -04:00
github-actions c95b6c1550 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-19 22:21:08 +00:00
alistair3149 f770e250df
refactor: remove unused method 2022-04-19 18:20:06 -04:00
alistair3149 047f830d1a
fix: FOUC of light theme when user is using auto theme and prefer dark
The prefer-dark script was previously deferred which causes a delay to detect and switch theme for the user. It is now inlined to prevent the delay.
2022-04-19 18:17:53 -04:00
alistair3149 7ecf3a81eb
feat: depreciate theme preferences in MW user preferences
Just local storage is good enough
2022-04-19 17:31:23 -04:00
alistair3149 02d9f88742
feat: update TabberNeue styles to latest version 2022-04-19 11:10:07 -04:00
alistair3149 10b24e6d37
chore: update package-lock.json 2022-04-19 11:09:35 -04:00
alistair3149 7b7641b366
feat: hide toc number by default 2022-04-17 18:12:11 -04:00
alistair3149 a2dffec7eb
feat: remove letter spacing from wordmark 2022-04-17 18:07:56 -04:00
Lens0021 cebc35fd4b
feat: show footer desc and tagline in the content language (#444) 2022-04-17 12:23:43 -04:00
alistair3149 2eb4fe9a5f
build: bump to 1.11.0 2022-04-14 00:39:02 -04:00
Lens0021 5202ddbebe
feat: add styles for PortableInfobox (#441)
* feat: add styles for PortableInfobox

* Update ext.PortableInfobox.styles.less

* Update ext.PortableInfobox.styles.less
2022-04-14 00:36:33 -04:00
Lens0021 449278f0be
feat: use template data for page tools if available (#440)
* Use template data for page tools if available

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* emptyPortlet class is added by the core

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* Update PageTools.php

* Set toolbox to always valid data

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2022-04-14 00:30:33 -04:00
translatewiki.net 2eae3f96e7 Localisation updates from https://translatewiki.net. 2022-03-17 13:09:40 +01:00
translatewiki.net 2e8af36823 Localisation updates from https://translatewiki.net. 2022-03-14 13:09:36 +01:00
translatewiki.net c4b9abd5c0 Localisation updates from https://translatewiki.net. 2022-03-07 13:08:57 +01:00
github-actions 0c6f22b10d ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-03-05 23:14:48 +00:00
alistair3149 29a3e64917
build: regenerate package-lock.json 2022-03-05 18:13:50 -05:00
dependabot[bot] 4ff9b95ade
build(deps): bump actions/checkout from 2 to 3 (#433)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

---
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>
2022-03-05 18:02:50 -05:00
Timo Tijhof 426f611357
fix: ext.uls.displaysettings: Update class name (#434)
As per <https://gerrit.wikimedia.org/r/768220 >.
2022-03-05 18:02:26 -05:00
Jon Robson 3e6a240c48 buildContentNavigationUrls is deprecated
Using runOnSkinTemplateNavigationHooks as a short term fix.
On the long term, we're hoping to empower skins to have more
control over menus which will hopefully mean a lot of the code
in Citizen can be simplified.

Fixes: #422
2022-02-23 00:49:34 -05:00
dependabot[bot] ba2df01e83
build(deps-dev): update php-parallel-lint/php-console-highlighter requirement (#429)
Updates the requirements on [php-parallel-lint/php-console-highlighter](https://github.com/php-parallel-lint/PHP-Console-Highlighter) to permit the latest version.
- [Release notes](https://github.com/php-parallel-lint/PHP-Console-Highlighter/releases)
- [Changelog](https://github.com/php-parallel-lint/PHP-Console-Highlighter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/php-parallel-lint/PHP-Console-Highlighter/compare/v0.5...v1.0.0)

---
updated-dependencies:
- dependency-name: php-parallel-lint/php-console-highlighter
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 00:48:58 -05:00
dependabot[bot] ab9c9bc7f9
build(deps-dev): update php-parallel-lint/php-parallel-lint requirement (#430)
Updates the requirements on [php-parallel-lint/php-parallel-lint](https://github.com/JakubOnderka/PHP-Parallel-Lint) to permit the latest version.
- [Release notes](https://github.com/JakubOnderka/PHP-Parallel-Lint/releases)
- [Commits](https://github.com/JakubOnderka/PHP-Parallel-Lint/commits)

---
updated-dependencies:
- dependency-name: php-parallel-lint/php-parallel-lint
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 00:48:03 -05:00
dependabot[bot] 67b45c50b0
build(deps-dev): bump stylelint-config-wikimedia from 0.12.1 to 0.12.2 (#431)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.12.1...v0.12.2)

---
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>
2022-02-23 00:46:08 -05:00
dependabot[bot] 2ca17425c2
build(deps-dev): bump stylelint-config-wikimedia from 0.11.1 to 0.12.1 (#428)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.11.1 to 0.12.1.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases)
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.11.1...v0.12.1)

---
updated-dependencies:
- dependency-name: stylelint-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>
2022-02-19 15:09:43 -05:00
github-actions eddcf5b493 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-02-19 20:09:01 +00:00