Page MenuHomePhabricator

$wgDBmwschema = "mediawiki" breaks wiki on git HEAD using mysql
Closed, ResolvedPublic

Description

As the title.

Dunno if this is caused by recent refactorings.. Should mysql be even using that variable?

https://www.mediawiki.org/wiki/Manual:$wgDBmwschema

Schema for mediawiki tables. Currently only used if your backend database is Postgres. This indicates what schema the main mediawiki tables live in, and is roughly equivalent to the way that $wgDBprefix is used by MySQL.

Event Timeline

No this variable is only for postgres and mssql and maybe oracle.

No this variable is only for postgres and mssql and maybe oracle.

So the docs are also wrong

But it doesn't say on the docs that it can be used in MySQL, but yes the docs are wrong. It should be updated to reflect support for mssql and oracle.

This comment was removed by Paladox.

Change 322202 had a related patch set uploaded (by Aaron Schulz):
Only apply wgDBschema to postgres/mssql

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

Change 322202 merged by jenkins-bot:
Only apply wgDBschema to postgres/mssql

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

Change 323374 had a related patch set uploaded (by Paladox):
Only apply wgDBschema to postgres/mssql

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

Change 323374 merged by jenkins-bot:
Only apply wgDBschema to postgres/mssql

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

This should now be fixed. Can we close this as resolved?

Aklapper assigned this task to aaron.

This should now be fixed. Can we close this as resolved?

All patches merged, no reply for weeks.
Hence assuming resolved. (Thanks for the ping!)