mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-09-23 10:25:59 +00:00
update comment
This commit is contained in:
parent
e0ccc061f5
commit
62c5542980
|
@ -131,9 +131,9 @@ class Cite {
|
|||
list($key,$group) = $this->refArg( $argv );
|
||||
|
||||
if( $str === '' ) {
|
||||
# <ref ...></ref>. This construct is always invalid: either
|
||||
# it's a contentful ref, or it's a named duplicate and should
|
||||
# be <ref ... />.
|
||||
# <ref ...></ref>. This construct is invalid if
|
||||
# it's a contentful ref, but OK if it's a named duplicate and should
|
||||
# be equivalent <ref ... />, for compatability with #tag.
|
||||
if ( $key == false )
|
||||
return $this->error( 'cite_error_ref_no_input' );
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue