mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-24 00:13:27 +00:00
34f54dd1ad
SearchResultProvideThumbnail was introduced in T250144. In order to fill search results with the "thumbnails" field it should be implemented in proper extension. Bug: T250207 Change-Id: I81d5d70f5237d6399b8ec6bec3058d12e40ca142
25 lines
426 B
PHP
25 lines
426 B
PHP
<?php
|
|
|
|
namespace PageImages\Tests;
|
|
|
|
use ApiPageSet;
|
|
use PageImages\ApiQueryPageImages;
|
|
|
|
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
|
|
|
|
/** @inheritDoc */
|
|
public function __construct( ApiPageSet $pageSet ) {
|
|
$this->pageSet = $pageSet;
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public function getPageSet() {
|
|
return $this->pageSet;
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public function getTitles() {
|
|
return parent::getTitles();
|
|
}
|
|
}
|