Wikibase
MediaWiki Wikibase extension
|
Entity IDs are created based on counters maintained by Wikibase in the md_docs_sql_wb_id_counters table.
You can view the table spec at md_docs_sql_wb_id_counters
The IdGenerator interface is generally used when interacting with this storage.
The IdGenerator implementation to be used can be switched using the idGenerator setting.
A separate db connection can be used for both IdGenerator implementations by setting the [idGeneratorSeparateDbConnection] setting.
Both UpsertSqlIdGenerator and [idGeneratorSeparateDbConnection] may be desired for repositories that have a high number of creates and writes.