https://bugzilla.wikimedia.org/show_bug.cgi?id=38972

Daniel Kinzler <daniel.kinz...@wikimedia.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kinz...@wikimedia.de

--- Comment #2 from Daniel Kinzler <daniel.kinz...@wikimedia.de> 2012-09-03 
10:35:12 UTC ---
The relevant settings are: $wgSharedTables, $wgSharedDB, and $wgSharedPrefix.
Note that $wgSharedTables contains array( 'user', 'user_properties' ), but it's
not used unless $wgSharedDB is not empty. 

To make this more flexible, all access to these veriables should be replaced by
access to static functions that can then be changed to work based on different
configuration variables (though the old style config should still be
supported). This seems feasible, the hardest decision being how to best
structure the new setup. An array with table names as keys and records
contiaining database name and prefix would be one way:

  $wgSharedTables = array(
    'user' => array( 'dbname' => 'foo', 'prefix' => 'bla_' )
  )

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to