mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
Merge "build: Updating mediawiki/mediawiki-phan-config to 0.9.0"
This commit is contained in:
commit
66dd863e2c
|
@ -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": [
|
||||
|
|
|
@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue