mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-22 19:12:50 +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 {
|
public function responsiveReferences(): array {
|
||||||
// @todo This is from the Cite extension, which shouldn't be known about by core
|
// @todo This is from the Cite extension, which shouldn't be known about by core
|
||||||
return [
|
return [
|
||||||
'enabled' => $this->config->get( 'CiteResponsiveReferences' ),
|
'enabled' => $this->config->has( 'CiteResponsiveReferences' ) ?
|
||||||
|
$this->config->get( 'CiteResponsiveReferences' ) : false,
|
||||||
'threshold' => 10,
|
'threshold' => 10,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue