From a118305617f343cb310187588ee5783c67573d55 Mon Sep 17 00:00:00 2001 From: Edward Chernenko Date: Mon, 30 Dec 2024 10:21:13 +0300 Subject: [PATCH] (troubleshoot) --- .github/workflows/main.yml | 2 +- includes/FindEventPagesQuery.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 513c591..c42e112 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,7 @@ jobs: run: | cd mediawiki echo 'echo MediaWiki\MediaWikiServices::getInstance()->getDBLoadBalancer()->getConnection( DB_REPLICA )->getType()' | php maintenance/run.php eval - php tests/phpunit/phpunit.php extensions/JsCalendar/tests/phpunit/ + php tests/phpunit/phpunit.php extensions/JsCalendar/tests/phpunit/ --filter testSnippetForCompressedRevision # PHP linters: phpcs, parallel-lint, etc. linter: diff --git a/includes/FindEventPagesQuery.php b/includes/FindEventPagesQuery.php index ba26d10..fa3dd0f 100644 --- a/includes/FindEventPagesQuery.php +++ b/includes/FindEventPagesQuery.php @@ -229,6 +229,8 @@ public function getResult() { $blobAddresses[] = $row->content_address; } + var_dump( $blobAddresses ); + $status = MediaWikiServices::getInstance()->getBlobStore()->getBlobBatch( $blobAddresses ); if ( $status->isOK() ) { $modifiedRows = [];