Author: yet_another_one_time_use_bugzilla_account
Description:
The configuration directive in LocalSettings.php that controls a wiki's database schema name ($wgDBmwschema) only appears to have relevance when creating Mediawiki's tables under PostgreSQL. As far as I can tell, the database abstraction relies on the fact that it somehow overwrites search_path during schema initialization to subsequently find the tables instead of actually using the configuration variable.
This makes two things very difficult under MediaWiki and PostgreSQL:
- Renaming the wiki's schema. Logic would dictate that you could simply change LocalSettings.php:$wgDBmwschema and then ALTER SCHEMA mediawiki RENAME TO mediawiki_meaningful_description;, but this does not work.
- Running multiple wiki's on the same database in different schemas. When you install the first one it works just fine. When you install the second one, both the first and second wiki installations are in fact accessing the same schema.
Version: 1.11.x
Severity: minor
OS: Linux