$wgDBport = 5432;
/**
- * Name of the database
+ * Name of the database; this should be alphanumeric and not contain spaces nor hyphens
*/
$wgDBname = 'my_wiki';
$wgSearchTypeAlternatives = null;
/**
- * Table name prefix
+ * Table name prefix; this should be alphanumeric and not contain spaces nor hyphens
*/
$wgDBprefix = '';
$wgSQLMode = '';
/**
- * Mediawiki schema
+ * Mediawiki schema; this should be alphanumeric and not contain spaces nor hyphens
*/
$wgDBmwschema = null;
/**
* Other wikis on this site, can be administered from a single developer account.
*
- * Array numeric key => database name
+ * @var string[] List of wiki DB domain IDs; the format of each ID consist of 1-3 hyphen
+ * delimited alphanumeric components (each with no hyphens nor spaces) of any of the forms:
+ * - "<DB NAME>-<DB SCHEMA>-<TABLE PREFIX>"
+ * - "<DB NAME>-<TABLE PREFIX>"
+ * - "<DB NAME>"
+ * If hyphens appear in any of the components, then the domain ID parsing may not work
+ * in all cases and site functionality might be affected. If the schema ($wgDBmwschema)
+ * is left to the default "mediawiki" for all wikis, then the schema should be omitted
+ * from these IDs.
*/
$wgLocalDatabases = [];
* @since 1.32
* @var int One of the MIGRATION_* constants
*/
-$wgChangeTagsSchemaMigrationStage = MIGRATION_WRITE_BOTH;
-
-/**
- * Temporarily flag to use change_tag_def table as backend of change tag statistics.
- * For example in case of Special:Tags. If set to false, it will use change_tag table.
- * Before setting it to true set $wgChangeTagsSchemaMigrationStage to MIGRATION_WRITE_BOTH and run
- * PopulateChangeTagDef maintaince script.
- * It's redundant when $wgChangeTagsSchemaMigrationStage is set to MIGRATION_NEW
- *
- * @since 1.32
- * @var bool
- */
-$wgTagStatisticsNewTable = false;
+$wgChangeTagsSchemaMigrationStage = MIGRATION_NEW;
/**
* Flag to enable Partial Blocks. This allows an admin to prevent a user from editing specific pages