Bug 2101639

Summary: MediaWiki 1.37.2 pulls in version of dependency (Parsoid 0.14.0) broken with PHP 8.1
Product: [Fedora] Fedora Reporter: Felix Friedlander <felix>
Component: mediawikiAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: Axel.Thimm, mike, orion, puiterwijk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mediawiki-1.37.4-1.fc36 mediawiki-1.38.2-1.fc37 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-09 11:22:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Felix Friedlander 2022-06-28 03:00:08 UTC
Description of problem:
MediaWiki 1.37.2 pulls in Parsoid 0.14.0, which is broken with PHP 8.1. Parsoid 0.14.1 fixes this (relevant upstream issue: https://phabricator.wikimedia.org/T307982).

Version-Release number of selected component (if applicable):
mediawiki 1.37.2, wikimedia/parsoid 0.14.0

How reproducible:
Install mediawiki, set up a wiki with VisualEditor enabled, attempt to edit a page.
An unhelpful generic error message will appear.

Additional info:
This should be fixed by MediaWiki 1.37.3 if/when that's released; for a more immediate fix, simply patching composer.json / composer.lock files to specify a newer parsoid version should work fine (currently running fine with 0.14.1 swapped in).

Comment 1 Felix Friedlander 2022-06-28 11:47:09 UTC
According to someone in a mediawiki IRC channel, 1.37.3 should hopefully be out this week, so waiting for that and then upgrading is probably the go.

Comment 2 Fedora Update System 2022-09-01 21:31:21 UTC
FEDORA-2022-bca2c95559 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bca2c95559

Comment 3 Fedora Update System 2022-09-01 21:32:31 UTC
FEDORA-2022-f83aec6d57 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f83aec6d57

Comment 4 Fedora Update System 2022-09-02 08:27:38 UTC
FEDORA-2022-bca2c95559 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-bca2c95559`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-bca2c95559

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-09-02 09:43:42 UTC
FEDORA-2022-f83aec6d57 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f83aec6d57`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f83aec6d57

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-09-09 11:22:34 UTC
FEDORA-2022-f83aec6d57 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-09-12 17:44:34 UTC
FEDORA-2022-bca2c95559 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.