Page MenuHomePhabricator

Importing SQL on install does not work when prefix defined
Closed, InvalidPublic

Description

Author: dustwolfy

Description:
Hello,

Not technically a bug per say, more an omission in the README. If the user uses a prefix for the tables, the SQL files provided will not create the necessary tables, as of course they are fixed whereas the running wiki expects the prefixed table to exist.

LP,
Jure


Version: unspecified
Severity: minor

Details

Reference
bz22399

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:51 PM
bzimport set Reference to bz22399.

sergey.chernyshev wrote:

No, actually it's done correctly - you're not supposed to create tables yourself, but use maintenance/update.php MediaWiki script that will be creating tables properly.

See onLoadExtensionSchemaUpdates hook method in http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/OpenID/OpenID.hooks.php?view=markup