https://bugzilla.wikimedia.org/show_bug.cgi?id=29590
Web browser: ---
Bug #: 29590
Summary: Installer should sanity check pre-existing tables
Product: MediaWiki
Version: 1.17.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Installation
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Consider the following database, which we would like to install MediaWiki onto:
mysql> show tables;
+----------------------------------------------+
| Tables_in_wizard_test_mediawiki_install_head |
+----------------------------------------------+
| user |
+----------------------------------------------+
1 row in set (0.00 sec)
There's a single user table here, ostensibly left over from a failed install.
OK, that's fine. How does the installer cope? It claims
"config-install-tables-exist", and then cheerfully attempts to access
'interwiki' table, which doesn't exist.
Ironically, the user table is unconditionally created.
Ideally, DatabaseInstaller->createTables should sanity check the existing
tables and error out with something more reasonable if they don't match up with
the schema, or complain that you should rather be using the ugprader.
You can treat this as a feature request. Probably.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l