X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fdatabase.txt;h=dbc92044de29a9a7204b45c4d40ef49c58cd8948;hb=372a40b7edf9db0d53961d4f2078b53de01f67b3;hp=ba3045ed40dbdf539d12e7f91b0b7f922fa567f6;hpb=31d239f9d9e2516fc725d9b743ece0dfe72c23a2;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/database.txt b/docs/database.txt index ba3045ed40..dbc92044de 100644 --- a/docs/database.txt +++ b/docs/database.txt @@ -8,7 +8,7 @@ By Tim Starling, January 2006. For information about the MediaWiki database layout, such as a description of the tables and their contents, please see: https://www.mediawiki.org/wiki/Manual:Database_layout - https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob_plain;f=maintenance/tables.sql;hb=HEAD + https://phabricator.wikimedia.org/diffusion/MW/browse/master/maintenance/tables.sql ------------------------------------------------------------------------ @@ -17,7 +17,7 @@ description of the tables and their contents, please see: To make a read query, something like this usually suffices: -$dbr = wfGetDB( DB_SLAVE ); +$dbr = wfGetDB( DB_REPLICA ); $res = $dbr->select( /* ...see docs... */ ); foreach ( $res as $row ) { ...