X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fdatabase.txt;h=c09dd38900544dc20215526597473e25d7c33546;hp=91b7e77a92f9f223ca054ab3de3af1e78e94eb72;hb=df59a5cbabea50191168303c5f0ea3600aab49b4;hpb=691029f57312bfd6f6d0aae7a49d5cc6c243900d diff --git a/docs/database.txt b/docs/database.txt index 91b7e77a92..c09dd38900 100644 --- a/docs/database.txt +++ b/docs/database.txt @@ -71,7 +71,7 @@ want to write code destined for Wikipedia. It's often the case that the best algorithm to use for a given task depends on whether or not replication is in use. Due to our unabashed Wikipedia-centrism, we often just use the replication-friendly version, -but if you like, you can use wfGetLB()->getServerCount() > 1 to +but if you like, you can use LoadBalancer::getServerCount() > 1 to check to see if replication is in use. === Lag === @@ -107,7 +107,7 @@ in the session, and then at the start of each request, waiting for the slave to catch up to that position before doing any reads from it. If this wait times out, reads are allowed anyway, but the request is considered to be in "lagged slave mode". Lagged slave mode can be -checked by calling wfGetLB()->getLaggedReplicaMode(). The only +checked by calling LoadBalancer::getLaggedReplicaMode(). The only practical consequence at present is a warning displayed in the page footer. @@ -176,8 +176,6 @@ MediaWiki does support the following other DBMSs to varying degrees. * PostgreSQL * SQLite -* Oracle -* MSSQL More information can be found about each of these databases (known issues, level of support, extra configuration) in the "databases" subdirectory in