mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-22 11:02:58 +00:00
Merge "Ensure Parsoid doesn't throw when <ref> is used w/o Cite installed"
This commit is contained in:
commit
095e5a7f78
|
@ -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,
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue