Open main menu

Audit of dependencies in includes/libs/rdbms


ChronologyProtector

  • BagOStuff
  • Psr\Log
  • WaitConditionLoop

DBExpectedError

  • MessageSpecifier

DBQueryError

  • Has the "Did you forget to run update.php" error message

TransactionProfiler

  • Psr\Log

LoadMonitor

  • Psr\Log
  • BagOStuff
  • ScopedCallback

LoadBalancer

  • Psr\Log
  • Awkward profiler non-dependency
  • BagOStuff
  • WANObjectCache
  • ArrayUtils::pickRandom

LBFactory

  • Psr\Log
  • BagOStuff
  • WANObjectCache

Database

  • BagOStuff
  • Psr\Log
  • mbstring
  • Database::indexName() has a back-compat mapping of some core indexes
  • ScopedCallback
  • ConvertibleTimestamp (TS_MW)
  • DatabaseBase::getSearchEngine()? - only caller appears to be SMW?
  • at-ease
  • Database::getSoftwareLink() returns wikitext
  • DatabaseMysqlBase::getDefaultSchemaVars() has $GLOBALS['wg...']
  • IP::splitHostAndPort() (now in libs)
  • DatabasePostgres::tableName() maps user -> mwuser, text -> pagecontent
  • DatabasePostgres::getCoreSchema() is specific to MW core? idk
  • postgres deps: WaitConditionLoop and base_convert
  • sqlite deps: FSLockManager