mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Minor: Rename a function arg
Change-Id: I689eef42414749c2cf47be55268b5bb2575d8078
This commit is contained in:
parent
ad229c1ac0
commit
1ec3fdbe33
|
@ -21,7 +21,7 @@ use Parsoid\Utils\WTUtils;
|
|||
class Ref extends ExtensionTag {
|
||||
|
||||
/** @inheritDoc */
|
||||
public function toDOM( ParsoidExtensionAPI $extApi, string $txt, array $extExtArgs ) {
|
||||
public function toDOM( ParsoidExtensionAPI $extApi, string $txt, array $extArgs ) {
|
||||
// Drop nested refs entirely, unless we've explicitly allowed them
|
||||
if ( ( $extApi->parseContext['extTag'] ?? null ) === 'ref' &&
|
||||
empty( $extApi->parseContext['extTagOpts']['allowNestedRef'] )
|
||||
|
@ -37,7 +37,7 @@ class Ref extends ExtensionTag {
|
|||
( $extApi->parseContext['extTag'] ?? null ) !== 'ref';
|
||||
|
||||
return $extApi->parseTokenContentsToDOM(
|
||||
$extExtArgs,
|
||||
$extArgs,
|
||||
'',
|
||||
$txt,
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue