We are currently carrying two patches for MediaWiki 1.45.0:
Patches
-
PostgresInstaller: Handle null password in openConnectionToAnyDB
-
migrateLinksTable: Fix categorylinks migration with literal namespace
- Upstream: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1231290
- Issue: The categorylinks table mapping uses a literal integer (14 = NS_CATEGORY) for the 'ns' field instead of a column name, causing:
Undefined array key 14 when trying to fetch $row[14]
- SQL syntax error
AND () AND when building the WHERE clause
Action Required
Once these patches are merged upstream and included in a MediaWiki release, we should:
- Update to the new MediaWiki version
- Remove the patches from
pkgs/
- Update
modules/nixos-wiki/default.nix to remove the patchedMediawiki override
We are currently carrying two patches for MediaWiki 1.45.0:
Patches
PostgresInstaller: Handle null password in openConnectionToAnyDB
migrateLinksTable: Fix categorylinks migration with literal namespace
Undefined array key 14when trying to fetch $row[14]AND () ANDwhen building the WHERE clauseAction Required
Once these patches are merged upstream and included in a MediaWiki release, we should:
pkgs/modules/nixos-wiki/default.nixto remove thepatchedMediawikioverride