Commit graph

4045 commits

Author SHA1 Message Date
github-actions 264e71899e ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-08-01 15:16:12 +00:00
alistair3149 fec969e11a
fix(ci): add missing boolean argument 2022-08-01 11:15:30 -04:00
alistair3149 a9fb8aacca
fix(ci): allow composer plugin in config
Should suppress the error
2022-08-01 11:13:51 -04:00
alistair3149 b15a92c2ff
fix: do not collapse space in highlighted search title
Closes #494
2022-08-01 01:45:32 -04:00
dependabot[bot] 785d3adf41
build(deps-dev): bump stylelint-config-wikimedia from 0.13.0 to 0.13.1 (#495)
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia) from 0.13.0 to 0.13.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.13.0...v0.13.1)

---
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-07-31 21:29:22 -04:00
dependabot[bot] e9139f04bb
build(deps-dev): bump jsdoc from 3.6.10 to 3.6.11 (#492)
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.10 to 3.6.11.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.11/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.10...3.6.11)

---
updated-dependencies:
- dependency-name: jsdoc
  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-07-31 12:44:08 -04:00
dependabot[bot] aa035e9868
build(deps): bump tj-actions/changed-files from 23 to 24 (#493)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 23 to 24.
- [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/v23...v24)

---
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-07-31 12:43:55 -04:00
translatewiki.net 3b3278c7d9 Localisation updates from https://translatewiki.net. 2022-07-21 13:10:50 +02:00
alistair3149 1bf51fc472
chore(release): 1.17.8 2022-07-16 13:40:31 -07:00
dependabot[bot] 7b2a04611b
build(deps-dev): bump grunt-banana-checker from 0.9.0 to 0.10.0 (#488)
Bumps [grunt-banana-checker](https://github.com/wikimedia/banana-checker) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/wikimedia/banana-checker/releases)
- [Changelog](https://github.com/wikimedia/banana-checker/blob/master/History.md)
- [Commits](https://github.com/wikimedia/banana-checker/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: grunt-banana-checker
  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-07-11 21:33:06 -07:00
alistair3149 e53afa51dc
fix(core): config CitizenThemeDefault should set theme correctly
Previously the config did set the theme correctly but get overridden by the inline
script to auto, this will fix it.

Closes: #418
2022-06-29 15:29:44 -04:00
dependabot[bot] b295d01028
build(deps-dev): bump @commitlint/cli from 17.0.2 to 17.0.3 (#485)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.0.2 to 17.0.3.
- [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.3/@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-28 02:57:22 -04:00
dependabot[bot] 0c166fdbc2
build(deps): bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (#486)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  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-28 02:54:12 -04:00
dependabot[bot] a019afad01
build(deps-dev): bump @commitlint/config-conventional (#484)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.0.2 to 17.0.3.
- [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.3/@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-28 02:53:56 -04:00
alistair3149 38c560d0af chore(release): 1.17.7 2022-06-21 16:24:38 -04:00
alistair3149 8c4166ae8f
feat(core): tweak spacing between body header and content 2022-06-21 16:23:31 -04:00
alistair3149 9fe063acb9
feat(core): use URL-safe key for search suggestions
Use `title` in Action API and `key` in REST API to generate result link

Related: Miraheze T9428
2022-06-21 16:20:43 -04:00
translatewiki.net 8559faa921 Localisation updates from https://translatewiki.net. 2022-06-20 13:09:28 +02:00
alistair3149 f03697f309
feat(skinStyles): add skinStyles for ManageWiki extension 2022-06-16 16:51:07 -04:00
alistair3149 64f7e18837
fix(skinStyles): dismiss button in CentralNotice should be on top 2022-06-16 16:40:03 -04:00
paladox 496b6f9403
fix(skinStyles): add missing variables.less import (#480)
Seeing variable @icon-size is undefined in file /srv/mediawiki/w/skins/Citizen/skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less in ext.uls.pt.less on line 19.

Which I think is due to a missing import that contains the definition of @icon-size.
2022-06-16 12:20:40 -04:00
translatewiki.net 817546621a Localisation updates from https://translatewiki.net. 2022-06-16 13:13:38 +02:00
dependabot[bot] 9675aab1cb
build(deps): bump tj-actions/changed-files from 22.2 to 23 (#478)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 22.2 to 23.
- [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.2...v23)

---
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-06-15 03:01:42 -04:00
alistair3149 eb0147e32f
feat(skinStyles): make wikieditor font size adjustable
Closes: #479
2022-06-14 16:04:52 -04:00
alistair3149 00e1f57bad
feat(core): add config to use numberformatter without disabling sitestats
Add the ability to disable numberformatter independently from sitestats
Due to an upstream issue, numberforrmatter can throw an exception in some
instances (#474). This will help to mitigate the issue.
2022-06-14 15:56:03 -04:00
alistair3149 4f64564f70 chore(release): 1.17.6 2022-06-07 19:09:42 -04:00
alistair3149 34c300d69c
fix(core): center class on thumbnails should center (#476)
Hide the overflow so the thumbnail will be at the center of avaliable space
instead of the whole page. Also have to remove hover shadow as overflow clip it.
2022-06-07 19:06:06 -04:00
translatewiki.net edf853abfa Localisation updates from https://translatewiki.net. 2022-06-06 13:12:47 +02:00
alistair3149 eba22354e5
fix(core): run script when DOM is ready
Sometimes the scripts start to run before DOM is fully ready. It causes things
like #475 where the checkbox is not in DOM yet but the script is already asking for it.
2022-06-04 17:44:03 -04:00
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