diff --git a/modules/ve-cite/ve.ui.MWReferenceSearchWidget.js b/modules/ve-cite/ve.ui.MWReferenceSearchWidget.js index b015aa74c..3b978a3e9 100644 --- a/modules/ve-cite/ve.ui.MWReferenceSearchWidget.js +++ b/modules/ve-cite/ve.ui.MWReferenceSearchWidget.js @@ -187,7 +187,7 @@ ve.ui.MWReferenceSearchWidget.prototype.buildSearchIndex = function () { let $element; // Make visible text, citation and reference name searchable - let text = citation + ' ' + name; + let text = ( citation + ' ' + name ).toLowerCase(); if ( itemNode.length ) { $element = new ve.ui.MWPreviewElement( itemNode, { useView: true } ).$element; text = $element.text().toLowerCase() + ' ' + text;