diff --git a/Cite_body.php b/Cite_body.php
index d7850e2a0..84d72807e 100644
--- a/Cite_body.php
+++ b/Cite_body.php
@@ -756,13 +756,6 @@ class Cite {
$this->referencesKey( $val['follow'] ),
$text
)->inContentLanguage()->plain();
- } elseif ( !isset( $val['text'] ) ) {
- return wfMessage(
- 'cite_references_link_one',
- $this->referencesKey( $key ),
- $this->refKey( $key, $val['count'] ),
- $text
- )->inContentLanguage()->plain();
}
if ( $val['count'] < 0 ) {
diff --git a/citeParserTests.txt b/citeParserTests.txt
index 189a3f1be..082ec61d7 100644
--- a/citeParserTests.txt
+++ b/citeParserTests.txt
@@ -290,9 +290,9 @@ Use <references />
, or <references group="..." />
@@ -400,7 +400,7 @@ AAAref aBBBnote bCCC[2 1]
<ref>
tag;
+<ref>
tag;
no text was provided for refs named bar
<ref>
tag;
+<ref>
tag;
no text was provided for refs named blankwithnoreference
<ref>
tag;
+<ref>
tag;
no text was provided for refs named foo
Cite error: <ref>
tag with name "unused" defined in <references>
is not used in prior text.
@@ -495,7 +495,7 @@ refs with no name must have content
Bla.
!! result
Bla.[1]