* Scans a "parent layer" of the articles/categories in $this->next
*/
private function scanNextLayer() {
-
# Find all parents of the article currently in $this->next
$layer = [];
$res = $this->dbr->select(
/* FROM */ 'categorylinks',
- /* SELECT */ '*',
+ /* SELECT */ [ 'cl_to', 'cl_from' ],
/* WHERE */ [ 'cl_from' => $this->next ],
__METHOD__ . '-1'
);