X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=blobdiff_plain;f=includes%2FPageProps.php;h=ff8deee3733418b66be47b784694bf7cd58289dd;hb=52b74d44d522c2a1b67f9ccc2b8f7e44b6b52d7c;hp=dac756ed7520465dfd7129048db83fb3f8dd6dda;hpb=3f15d509066141f51e2f225bd9c5c62296f38f84;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PageProps.php b/includes/PageProps.php index dac756ed75..ff8deee373 100644 --- a/includes/PageProps.php +++ b/includes/PageProps.php @@ -242,6 +242,8 @@ class PageProps { private function getGoodIDs( $titles ) { $result = []; if ( is_array( $titles ) ) { + ( new LinkBatch( $titles ) )->execute(); + foreach ( $titles as $title ) { $pageID = $title->getArticleID(); if ( $pageID > 0 ) {