Skip to content

[DRAFT] MW 1.43 migration#9

Closed
peterdevpl wants to merge 93 commits intomasterfrom
REL1_43
Closed

[DRAFT] MW 1.43 migration#9
peterdevpl wants to merge 93 commits intomasterfrom
REL1_43

Conversation

@peterdevpl
Copy link
Copy Markdown

@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
Co-authored-by: Martyna Nowicka <37370506+maaartyyynaa@users.noreply.github.com>
…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] <support@github.com>
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 <tehkittycat@weirdgloop.org>
…iversal-Omega#228)

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

Co-authored-by: TehKittyCat <tehkittycat@weirdgloop.org>
…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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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.
amire80 and others added 10 commits September 30, 2024 12:06
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
@peterdevpl
Copy link
Copy Markdown
Author

Closing because the required changes are now in the upstream.

@peterdevpl peterdevpl closed this Feb 10, 2025
@peterdevpl peterdevpl deleted the REL1_43 branch February 10, 2025 11:28
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.