Skip to content

Remove MediaWiki patches after upstream merge #340

@Mic92

Description

@Mic92

We are currently carrying two patches for MediaWiki 1.45.0:

Patches

  1. PostgresInstaller: Handle null password in openConnectionToAnyDB

  2. 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:

  1. Update to the new MediaWiki version
  2. Remove the patches from pkgs/
  3. Update modules/nixos-wiki/default.nix to remove the patchedMediawiki override

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions