MediaWiki was updated to 1.8.0 on 2006-10-10, this update includes postgresql support. An updated ebuild would help push MediaWiki use within the Gentoo + Postgres community.
I have now made the package, it is now ~. Please test it with >=postgres-8.1.5
There is an ebuild