mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
Remove obsolete comments
Change-Id: I66246a4d4978e070d45def38ff5b6300f6057eb3
This commit is contained in:
parent
4ae083fe72
commit
5397919857
|
@ -26,9 +26,6 @@ use MediaWiki\MediaWikiServices;
|
|||
|
||||
class Cite {
|
||||
|
||||
/**
|
||||
* @todo document
|
||||
*/
|
||||
private const DEFAULT_GROUP = '';
|
||||
|
||||
/**
|
||||
|
@ -263,7 +260,6 @@ class Cite {
|
|||
$str = null;
|
||||
} else {
|
||||
$this->mRefCallStack[] = false;
|
||||
|
||||
return $this->error( 'cite_error_ref_no_input' );
|
||||
}
|
||||
}
|
||||
|
@ -503,9 +499,6 @@ class Cite {
|
|||
}
|
||||
|
||||
if ( $key === null ) {
|
||||
// No key
|
||||
// $this->mRefs[$group][] = $str;
|
||||
|
||||
$this->mRefs[$group][] = [
|
||||
'count' => -1,
|
||||
'text' => $str,
|
||||
|
@ -854,7 +847,6 @@ class Cite {
|
|||
self::getReferencesKey( $val['key'] )
|
||||
),
|
||||
$this->normalizeKey(
|
||||
# $this->refKey( $val['key'], $val['count'] )
|
||||
$this->refKey( $val['key'] )
|
||||
),
|
||||
$text,
|
||||
|
@ -872,7 +864,6 @@ class Cite {
|
|||
self::getReferencesKey( $key . "-" . $val['key'] )
|
||||
),
|
||||
$this->normalizeKey(
|
||||
# $this->refKey( $key, $val['count'] ),
|
||||
$this->refKey( $key, $val['key'] . "-" . $val['count'] )
|
||||
),
|
||||
$text,
|
||||
|
|
Loading…
Reference in a new issue