Index: trunk/extensions/Cite/Cite.php |
— | — | @@ -394,7 +394,7 @@ |
395 | 395 | 'cite_references_link_one', |
396 | 396 | $this->referencesKey( $key ), |
397 | 397 | $this->refKey( $key, $val['count'] ), |
398 | | - $val['text'] |
| 398 | + ($val['text']!=''?$val['text']:$this->error(CITE_ERROR_REFERENCES_NO_TEXT)) |
399 | 399 | ); |
400 | 400 | // Named references with >1 occurrences |
401 | 401 | else { |
— | — | @@ -415,7 +415,7 @@ |
416 | 416 | wfMsgForContentNoTrans( 'cite_references_link_many', |
417 | 417 | $this->referencesKey( $key ), |
418 | 418 | $list, |
419 | | - $val['text'] |
| 419 | + ($val['text']!=''?$val['text']:$this->error(CITE_ERROR_REFERENCES_NO_TEXT)) |
420 | 420 | ); |
421 | 421 | } |
422 | 422 | } |