Hello list,
I've been trying to find out how to set up a shared user table using Postgres. The references to $wgSharedDB and $wgSharedPrefix that I've found seem specific to a MySQL solution. Any pointers would be greatly appreciated.
Thanks, Tim
Tim Larson wrote:
Hello list,
I've been trying to find out how to set up a shared user table using Postgres. The references to $wgSharedDB and $wgSharedPrefix that I've found seem specific to a MySQL solution. Any pointers would be greatly appreciated.
Thanks, Tim
Postgres doesn't support multi-db queries. So you could use $wgSharedDB only if all the wikis were on the same db. What you can do is to use an AuthPlugin authenticating against a master mediawiki install http://www.mediawiki.org/wiki/AuthPlugin
Platonides wrote:
Tim Larson wrote:
I've been trying to find out how to set up a shared user table using Postgres. The references to $wgSharedDB and $wgSharedPrefix that I've found seem specific to a MySQL solution. Any pointers would be greatly appreciated.
Postgres doesn't support multi-db queries. So you could use $wgSharedDB only if all the wikis were on the same db.
It doesn't need to. All wikis in the same DB, just different schema.
What you can do is to use an AuthPlugin authenticating against a master mediawiki install http://www.mediawiki.org/wiki/AuthPlugin
I'd assumed since this is directly analogous (a schema essentially serves as a prefix for your db objects) that it might be implemented directly and not need a plugin.
Tim
mediawiki-l@lists.wikimedia.org