Issues related to supporting the use of the PostgreSQL database back-end for MediaWiki.
Details
Wed, Dec 3
Tue, Dec 2
Change #1214165 had a related patch set uploaded (by Yaron Koren; author: Edward Chernenko):
[mediawiki/extensions/ContributionScores@REL1_43] Update for MediaWiki 1.43
Mon, Dec 1
Change #1108514 merged by jenkins-bot:
[mediawiki/extensions/ContributionScores@master] Update for MediaWiki 1.43
Nov 18 2025
Brilliant, thanks @Atieno & @ABreault-WMF :)
I believe that's now everything that's left to do on this ticket; so boldly re-resolving.
Nov 16 2025
https://gerrit.wikimedia.org/r/c/1203855 has been merged (which I assume should hopefully remove the train-blocker for -wmf.3). To confirm, should that patch be backported to REL1_45?
Nov 12 2025
Reverted https://gerrit.wikimedia.org/r/q/aaf418b3c8ac1990308cd149b8f6485740c496f6 via https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1204258 in the wmf.2 branch only by Ladsgroup, thus resolving T409831, reopening T345793, and marking T345793 as a wmf.3 blocker.
Nov 11 2025
This change created a regression in T409831 which currently blocks the deployment train.
Nov 10 2025
Nov 5 2025
Change #1202129 merged by jenkins-bot:
[mediawiki/core@REL1_45] pagers: Make history pager work with Postgres
Change #1202130 abandoned by Ammarpad:
[mediawiki/core@REL1_44] pagers: Make history pager work with Postgres
Reason:
IndexPager::getOffset exists only in >= 1.45
Change #1202132 abandoned by Ammarpad:
[mediawiki/core@REL1_43] pagers: Make history pager work with Postgres
Reason:
IndexPager::getOffset exists only in >= 1.45
Change #1202132 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@REL1_43] pagers: Make history pager work with Postgres
Change #1202130 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@REL1_44] pagers: Make history pager work with Postgres
Change #1202129 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@REL1_45] pagers: Make history pager work with Postgres
Change #1200672 merged by jenkins-bot:
[mediawiki/core@master] pagers: Make history pager work with Postgres
Nov 4 2025
I've upgraded the prometheus postgres exporters across the fleet to the version from trixie which is capable of replica monitoring. I also gave prometheus pg_monitor privileges where called for by the updated exporter. Next will be sorting out replication alerts using the updated metrics.
Nov 2 2025
Change #1200672 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@master] pagers: Make history pager work with Postgres
Oct 28 2025
Oct 22 2025
@joernc_unibi I asked the developers about the database choice, because I read that line you quoted. I wanted their opinion if it worths migrating from PG to MariaDB since we have these problems with postgresql DB scripts.
I will study a possible migration to MariaDB, because it is time consuming try to fix things that are only broken on PG scripts. It is tiny problems like droping a collumn or an index that should exists and brokes the upgrade sequence. Even though it is tiny problems, we (the final user) dont have the impact of bypassing these drops.
@saper Sorry, I don't have backups from the time before I upgraded all Wikis to 1.39, that was 2023. At the moment my test environment has only the latest version and I am upgrading my test Wikis before the productive ones. I am considering installing the old releases in my test environment so that I can actually test these upgrade chains. If e.g. these older releases are compatible with a recent PostgreSQL database, though.
Oct 21 2025
Do you still have backups of the old databases and can check if those indices existed at all in the old MediaWiki versions?
A quick fix for this is to extend the update hook to install different SQL files for MySQL and PostgreSQL.
Please see https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#Set_up_the_database instead - thanks.
Hello joernc_unibi ,
I'm not sure this is related to T330382 ... after all I seem to have reported that problem...
Oct 14 2025
Hi @SamuelReichmannCongatec, thanks for taking the time to report this and welcome to Wikimedia Phabricator.