Page MenuHomePhabricator

Allow MediaModeration extension to be used on postgres
Closed, ResolvedPublic1 Estimated Story Points

Description

The MediaModeration extension tests currently fail for postgres and should be fixed to work on postgres. While this happening we should investigate whether the extension works for postgres and make necessary fixes to support it.

Event Timeline

Change 989914 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/MediaModeration@master] tests: Call IDatbaase::timestamp for fa_deleted_timestamp

https://gerrit.wikimedia.org/r/989914

Change 989915 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/MediaModeration@master] Use IDatbase::timestamp when selecting img_timestamp

https://gerrit.wikimedia.org/r/989915

On making the test pass on postgres I can help and have uploaded two patch sets.

Change 989914 merged by jenkins-bot:

[mediawiki/extensions/MediaModeration@master] tests: Call IDatabase::timestamp for fa_deleted_timestamp

https://gerrit.wikimedia.org/r/989914

Change 989915 merged by jenkins-bot:

[mediawiki/extensions/MediaModeration@master] Use IDatabase::timestamp when selecting img_timestamp

https://gerrit.wikimedia.org/r/989915

I think support should already be there, but I will quickly test. If I can't see anything broken I intend to resolve this ticket to save future time.

Dreamy_Jazz claimed this task.
Dreamy_Jazz set the point value for this task to 1.

Tested on a local postgres instance and didn't find anything that was broken. Marking this ticket as resolved.