Change-Id: I0d1cff3173d54de0b8fadb5bf9766789ffe030a4
private function getGoodIDs( $titles ) {
$result = [];
if ( is_array( $titles ) ) {
private function getGoodIDs( $titles ) {
$result = [];
if ( is_array( $titles ) ) {
+ ( new LinkBatch( $titles ) )->execute();
+
foreach ( $titles as $title ) {
$pageID = $title->getArticleID();
if ( $pageID > 0 ) {
foreach ( $titles as $title ) {
$pageID = $title->getArticleID();
if ( $pageID > 0 ) {