mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
fix for bug 15770, allow <ref name=whatever></ref> for compatability with #tag
This commit is contained in:
parent
0df2c0436a
commit
2cd561ea0e
|
@ -134,7 +134,10 @@ class Cite {
|
|||
# <ref ...></ref>. This construct is always invalid: either
|
||||
# it's a contentful ref, or it's a named duplicate and should
|
||||
# be <ref ... />.
|
||||
if ( $key == false )
|
||||
return $this->error( 'cite_error_ref_no_input' );
|
||||
else
|
||||
$str = null;
|
||||
}
|
||||
|
||||
if( $key === false ) {
|
||||
|
|
Loading…
Reference in a new issue