X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUncategorizedcategories.php;h=2dcb77f824f51dc13ebe7e411f04c81acf6867ce;hp=77b69264577ad8a53df287a38e04caed1289bc73;hb=11ee7f78da9776db26098642a151a288f98bea14;hpb=350dcb4cd7990daa4ea8fe4c8335f9353f442605 diff --git a/includes/specials/SpecialUncategorizedcategories.php b/includes/specials/SpecialUncategorizedcategories.php index 77b6926457..2dcb77f824 100644 --- a/includes/specials/SpecialUncategorizedcategories.php +++ b/includes/specials/SpecialUncategorizedcategories.php @@ -60,7 +60,7 @@ class UncategorizedCategoriesPage extends UncategorizedPagesPage { $title = Title::makeTitleSafe( NS_CATEGORY, $titleStr ); } if ( $title ) { - $this->exceptionList[] = $title->getDBKey(); + $this->exceptionList[] = $title->getDBkey(); } } } @@ -68,7 +68,7 @@ class UncategorizedCategoriesPage extends UncategorizedPagesPage { } public function getQueryInfo() { - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_REPLICA ); $query = parent::getQueryInfo(); $exceptionList = $this->getExceptionList(); if ( $exceptionList ) {