Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] MW 1.43 migration #9

Draft
wants to merge 93 commits into
base: master
Choose a base branch
from
Draft

[DRAFT] MW 1.43 migration #9

wants to merge 93 commits into from

Conversation

peterdevpl
Copy link

@peterdevpl peterdevpl commented Jan 28, 2025

  • backported changes from the upstream repo
  • changed queries to work with the new pagelinks table schema
  • run tests on MW 1.43 & PHP 8.2

Caveats:

emkarcinos and others added 30 commits March 16, 2023 14:49
…2.1 (Universal-Omega#227)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…versal-Omega#229)

Under MySQL 8 this saved 200 ms off the first run and lets subsequent runs be almost instantaneous.

Co-authored-by: TehKittyCat <[email protected]>
…iversal-Omega#228)

User->getName() falls back to the current user's IP address if there is no user name.

Co-authored-by: TehKittyCat <[email protected]>
…0.0 (Universal-Omega#245)

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](wikimedia/mediawiki-tools-codesniffer@v41.0.0...v42.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…mega#246)

Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](styfle/cancel-workflow-action@0.11.0...0.12.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…a#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](sorenlouv/backport-github-action@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fixes issue Universal-Omega#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.
translatewiki and others added 13 commits August 15, 2024 14:11
The MediaWiki linter reports <tt> as an
obsolete HTML tag on translatewiki.
<code> is commonly used for the same purpose.
Sorry, I didn't notice these issues in my previous patch.

1. Put *? into "<code>". It wasn't clearly separated from the text, and it was translated incorrectly into some languages because people probably thought that it's an actual question.
2. Improve English grammar—"that" is clearer than "which" here because it's a restrictive clause, and in the end, there should be an article.
@peterdevpl peterdevpl self-assigned this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.