mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
Rename DOM handling methods toDOM/fromDOM to reflect reality
* For extensions, the fromHTML --> fromDOM renaming mirrors the toDOM extension method. Change-Id: Ic361bd0b5a8849c3033f55cfcae6e1cb36f68a10
This commit is contained in:
parent
a8a6951f9c
commit
ddbca68066
|
@ -80,7 +80,7 @@ class Ref extends ExtensionTag {
|
|||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
public function fromHTML(
|
||||
public function fromDOM(
|
||||
DOMElement $node, SerializerState $state, bool $wrapperUnmodified
|
||||
): string {
|
||||
$startTagSrc = $state->serializer->serializeExtensionStartTag( $node, $state );
|
||||
|
|
|
@ -561,7 +561,7 @@ class References extends ExtensionTag {
|
|||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
public function fromHTML(
|
||||
public function fromDOM(
|
||||
DOMElement $node, SerializerState $state, bool $wrapperUnmodified
|
||||
): string {
|
||||
$dataMw = DOMDataUtils::getDataMw( $node );
|
||||
|
|
Loading…
Reference in a new issue