Merge "Ensure Parsoid doesn't throw when <ref> is used w/o Cite installed"

This commit is contained in:
jenkins-bot 2020-08-21 07:27:28 +00:00 committed by Gerrit Code Review
commit 095e5a7f78

View file

@ -396,7 +396,8 @@ class SiteConfig extends ISiteConfig {
public function responsiveReferences(): array {
// @todo This is from the Cite extension, which shouldn't be known about by core
return [
'enabled' => $this->config->get( 'CiteResponsiveReferences' ),
'enabled' => $this->config->has( 'CiteResponsiveReferences' ) ?
$this->config->get( 'CiteResponsiveReferences' ) : false,
'threshold' => 10,
];
}