Page MenuHomePhabricator

$wgSharedDB can not state table prefix for shared user table
Closed, ResolvedPublic

Description

Author: chemicalbit

Description:
Configuring a set of working together wikis to use a shared user table

$wgSharedDB (see http://www.mediawiki.org/wiki/Manual:%24wgSharedDB ) can state
the database name

but can not state the table prefix (table prefix as $wgDBprefix , see
http://www.mediawiki.org/wiki/Manual:%24wgDBprefix ) of the the (MySQL) shared
user table.

If I have understood http://www.mediawiki.org/wiki/Manual:%24wgSharedDBright,
all the wikis need to use the same table prefix (or no table prefix)

but one can not get that, if he/she is making up a set of wikis using a single
(MySQL) database, just using table prefix to divide eache wiki's tables (and
maybe other applications)

In such circumstances, shared user table can not work.

I asked for workaround in IRC MediaWiki-General, some weeks ago, but it was not possible.


Version: unspecified
Severity: major

Details

Reference
bz9695

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:39 PM
bzimport set Reference to bz9695.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 2396 ***