Merge "build: Updating mediawiki/mediawiki-phan-config to 0.9.0"

This commit is contained in:
jenkins-bot 2020-01-15 08:35:38 +00:00 committed by Gerrit Code Review
commit 66dd863e2c
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/mediawiki-codesniffer": "28.0.0",
"mediawiki/minus-x": "0.3.2",
"mediawiki/mediawiki-phan-config": "0.8.0"
"mediawiki/mediawiki-phan-config": "0.9.0"
},
"scripts": {
"fix": [

View file

@ -167,7 +167,8 @@ class ApiQueryExtracts extends ApiQueryBase {
return $cache->makeKey( 'textextracts', self::CACHE_VERSION,
$page->getId(), $page->getTouched(),
$page->getTitle()->getPageLanguage()->getPreferredVariant(),
$this->params['plaintext'], $introOnly
$this->params['plaintext'] ? 'plaintext' : 'html',
$introOnly ? 'intro' : 'full'
);
}