Page MenuHomePhabricator

update.php ignores $wgSharedDB
Closed, DeclinedPublic

Description

Author: tderouin

Description:
When upgrading, if you run maintenance/update.php, the new schema changes for
the user table are applied to the main wiki database and not the $wgSharedDB table.


Version: 1.9.x
Severity: normal
OS: Mac OS X 10.0
Platform: Macintosh

Details

Reference
bz9870

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:38 PM
bzimport set Reference to bz9870.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Run the script with the switch --doshared to force shared table updates to
take place.

tderouin wrote:

Ok, this is a bit unexpected then. If wgSharedDB is set, why would a user have
to pass this argument in? Shouldn't it automatically update the shared table?

ayg wrote:

Seems sensible to at least raise a warning.