Commit graph

297 commits

Author SHA1 Message Date
translatewiki.net 955be3fefd
Localisation updates from https://translatewiki.net. 2024-09-02 14:10:14 +02:00
translatewiki.net 498c396c79
Localisation updates from https://translatewiki.net. 2024-08-19 14:12:20 +02:00
translatewiki.net d3f51c3117
Localisation updates from https://translatewiki.net. 2024-08-15 14:11:32 +02:00
translatewiki.net b74b019f35
Localisation updates from https://translatewiki.net. 2024-08-01 14:11:07 +02:00
translatewiki.net 8997e9bc8f
Localisation updates from https://translatewiki.net. 2024-07-29 14:13:49 +02:00
Jonathan Lee cf3b9cc6a0
Fix infinite loop if section header has ( (#283) 2024-07-23 06:33:18 +08:00
translatewiki.net 1aef9d71af
Localisation updates from https://translatewiki.net. 2024-07-18 14:11:12 +02:00
xtex 2376c43f92
Avoid using deprecated getCategories (#278)
Follow-up: I8dc85e76bfbb9ed49a603d990c14b7ee798bd821
Follow-up: I7b8a86f6efbdd86c1f493db6741c37bfb325e9bb

Signed-off-by: xtex <xtexchooser@duck.com>
2024-07-12 13:47:36 +08:00
translatewiki.net dad7124a78
Localisation updates from https://translatewiki.net. 2024-06-27 14:12:40 +02:00
translatewiki.net 0e657cc713 Localisation updates from https://translatewiki.net. 2024-05-30 14:16:56 +02:00
CosmicAlpha 025f584752
Fix Phan 2024-05-25 00:15:46 +08:00
CosmicAlpha 6455440d78
Fix PHPCS 2024-05-25 00:12:46 +08:00
CosmicAlpha 538886042d
Fix PHPCS 2024-05-25 00:11:30 +08:00
Ádám Domonkos df4ff9632a
PageImages support for mode=gallery on non file pages (#275)
In gallery mode, attempting to automatically detect whether:
- PageImages is enabled
- If it is, if a non file page has a PageImage
If both are true, it should try to use the PageImage for the gallery and the page name for the image caption.

Right now, it also makes the page name in the caption a link, and points the image link to the page as well. Could not figure out how to make this behavior optional.

Gallery mode for file pages should be untouched.

Notes:
- This behavior is similar, but not a perfect match to DPL_(Wikimedia)'s PageImages in gallery mode.
- Unsure if some of the solutions are the most optimal. The way its detecting if PageImages is enabled is a bit clumsy.

Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
2024-05-25 00:04:07 +08:00
dependabot[bot] b58a5cb981
Bump sqren/backport-github-action from 9.3.1 to 9.5.1 (#272)
Bumps [sqren/backport-github-action](https://github.com/sqren/backport-github-action) from 9.3.1 to 9.5.1.
- [Release notes](https://github.com/sqren/backport-github-action/releases)
- [Commits](https://github.com/sqren/backport-github-action/compare/v9.3.1...v9.5.1)

---
updated-dependencies:
- dependency-name: sqren/backport-github-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>
2024-05-10 10:19:40 -06:00
dependabot[bot] 7bb650421f
Bump codacy/codacy-analysis-cli-action from 4.4.0 to 4.4.1 (#271)
Bumps [codacy/codacy-analysis-cli-action](https://github.com/codacy/codacy-analysis-cli-action) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/codacy/codacy-analysis-cli-action/releases)
- [Commits](33d4559493...3ff8e64eb4)

---
updated-dependencies:
- dependency-name: codacy/codacy-analysis-cli-action
  dependency-type: direct:production
  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>
2024-05-09 00:42:33 -06:00
dependabot[bot] d6f94aa91a
Update mediawiki/minus-x requirement from 1.1.1 to 1.1.3 (#270)
Updates the requirements on [mediawiki/minus-x](https://github.com/wikimedia/mediawiki-tools-minus-x) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-minus-x/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-minus-x/compare/1.1.1...1.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 00:49:04 -06:00
translatewiki.net 3f55746ddb Localisation updates from https://translatewiki.net. 2024-05-02 14:13:07 +02:00
translatewiki.net 1cb70e06df Localisation updates from https://translatewiki.net. 2024-04-22 14:12:52 +02:00
CosmicAlpha 24bb50d0af
Use HookContainer to register hooks (#236)
Manipulating $wgHooks is deprecated
2024-04-22 03:14:45 -06:00
dependabot[bot] c5ccfd8234
Update php-parallel-lint/php-parallel-lint requirement (#267)
Updates the requirements on [php-parallel-lint/php-parallel-lint](https://github.com/php-parallel-lint/PHP-Parallel-Lint) to permit the latest version.
- [Release notes](https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases)
- [Changelog](https://github.com/php-parallel-lint/PHP-Parallel-Lint/blob/v1.4.0/CHANGELOG.md)
- [Commits](https://github.com/php-parallel-lint/PHP-Parallel-Lint/compare/v1.3.2...v1.4.0)

---
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>
2024-04-22 03:13:56 -06:00
dependabot[bot] 12e2001aa9
Bump codacy/codacy-analysis-cli-action from 4.3.0 to 4.4.0 (#265)
Bumps [codacy/codacy-analysis-cli-action](https://github.com/codacy/codacy-analysis-cli-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/codacy/codacy-analysis-cli-action/releases)
- [Commits](5cc54a75f9...33d4559493)

---
updated-dependencies:
- dependency-name: codacy/codacy-analysis-cli-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>
2024-04-22 02:35:15 -06:00
translatewiki.net 1940e3e40a Localisation updates from https://translatewiki.net. 2024-03-21 13:14:49 +01:00
dependabot[bot] b0483e04ac
Update mediawiki/mediawiki-codesniffer requirement from 42.0.0 to 43.0.0 (#256)
* Update mediawiki/mediawiki-codesniffer requirement from 42.0.0 to 43.0.0

Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v42.0.0...v43.0.0)

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

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

* Include json files in cache key

* Update composer test

* Add dealerdirect/phpcodesniffer-composer-installer to allow-plugins

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
2024-02-16 16:18:36 -07:00
dependabot[bot] dccf02401e
Update mediawiki/mediawiki-phan-config requirement from 0.12.1 to 0.14.0 (#259)
* Update mediawiki/mediawiki-phan-config requirement from 0.12.1 to 0.14.0

Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.1...0.14.0)

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

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

* Suppress MediaWikiNoEmptyIfDefined temporarily

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
2024-02-16 16:03:22 -07:00
CosmicAlpha 69f8d10204
Partial revert of #215 (#264) 2024-02-16 15:55:27 -07:00
dependabot[bot] 981824cbb8
Bump github/codeql-action from 2 to 3 (#249)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-02-16 15:33:30 -07:00
dependabot[bot] c019286c40
Bump actions/cache from 3 to 4 (#254)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2024-02-16 15:32:21 -07:00
dependabot[bot] df7e8bf852
Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 (#255)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  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>
2024-02-16 15:30:15 -07:00
dependabot[bot] 0748811654
Bump codecov/codecov-action from 3 to 4 (#257)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-02-16 15:28:46 -07:00
dependabot[bot] 12ad6014cc
Bump sqren/backport-github-action from 9.3.0 to 9.3.1 (#258)
Bumps [sqren/backport-github-action](https://github.com/sqren/backport-github-action) from 9.3.0 to 9.3.1.
- [Release notes](https://github.com/sqren/backport-github-action/releases)
- [Commits](https://github.com/sqren/backport-github-action/compare/v9.3.0...v9.3.1)

---
updated-dependencies:
- dependency-name: sqren/backport-github-action
  dependency-type: direct:production
  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>
2024-02-16 15:28:31 -07:00
alistair3149 426ab051f9
Deprecate various private ParserOutput var (#215)
Might need a revisit since not every variable has a setter method
Fixes #196

---------

Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
2024-02-16 15:25:32 -07:00
CosmicAlpha ea3c2f9fb4
tests: fix for 1.42 and cleanup (#263) 2024-02-16 15:20:48 -07:00
CosmicAlpha a32213532c
tests: pass $performer to WikiImporterFactory::getWikiImporter on 1.42 2024-02-16 12:28:36 -07:00
CosmicAlpha 45c195f6bd
Bump to 3.5.3 2024-02-16 10:58:17 -07:00
CosmicAlpha f6a5bb468a
Update CHANGELOG for 3.5.2 2024-02-16 10:34:14 -07:00
translatewiki.net bc72d88411 Localisation updates from https://translatewiki.net. 2024-02-05 13:13:52 +01:00
translatewiki.net 25c9fd08e6 Localisation updates from https://translatewiki.net. 2024-02-01 13:13:12 +01:00
translatewiki.net 3eead68926 Localisation updates from https://translatewiki.net. 2024-01-29 13:15:41 +01:00
translatewiki.net 6c5a5e22df Localisation updates from https://translatewiki.net. 2024-01-25 13:15:16 +01:00
translatewiki.net 6fe23d740b Localisation updates from https://translatewiki.net. 2024-01-15 13:13:59 +01:00
translatewiki.net 8d630ece30 Localisation updates from https://translatewiki.net. 2024-01-04 13:12:53 +01:00
paladox 811467f206
Fix "PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated" (#251) 2023-12-15 15:56:50 -07:00
paladox 6f2834a5bc
Fix "PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead" (#250) 2023-12-15 09:48:13 -07:00
translatewiki.net f64459fb05 Localisation updates from https://translatewiki.net. 2023-12-07 13:22:09 +01:00
translatewiki.net 2e568fdd1a Localisation updates from https://translatewiki.net. 2023-11-16 13:14:11 +01:00
translatewiki.net e86e7dbfba Localisation updates from https://translatewiki.net. 2023-11-09 13:16:37 +01:00
Hamish 61a6d3123d
Fix minoredits=exclude (#234)
fixes issue #226

Previously, the query selected the latest revision for each page based on the rev_timestamp, but did not consider the rev_minor_edit value until afterwards.
Now it will retrieve the latest revision that satisfies the condition rev.rev_minor_edit = 0.
2023-11-06 12:31:11 -07:00
Amir E. Aharoni 4646f9a40c
Cleanup in en.json (#237) 2023-11-06 12:30:37 -07:00
dependabot[bot] 26bd248a83
Bump sqren/backport-github-action from 8.9.7 to 9.3.0 (#242)
Bumps [sqren/backport-github-action](https://github.com/sqren/backport-github-action) from 8.9.7 to 9.3.0.
- [Release notes](https://github.com/sqren/backport-github-action/releases)
- [Commits](https://github.com/sqren/backport-github-action/compare/v8.9.7...v9.3.0)

---
updated-dependencies:
- dependency-name: sqren/backport-github-action
  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>
2023-11-06 12:30:25 -07:00