Ladsgroup has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/386670 )
Change subject: Do not try to parse the diff change row when it's empty ...................................................................... Do not try to parse the diff change row when it's empty It's causing lexemes to fail Change-Id: Ifca99cc17b5b37016fb6345dbf4e83912c081204 --- M lib/includes/Changes/EntityChange.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/70/386670/1 diff --git a/lib/includes/Changes/EntityChange.php b/lib/includes/Changes/EntityChange.php index 7a4e818..9c62ac9 100644 --- a/lib/includes/Changes/EntityChange.php +++ b/lib/includes/Changes/EntityChange.php @@ -355,7 +355,7 @@ $info = parent::unserializeInfo( $serialization ); - if ( isset( $info['diff'] ) && is_array( $info['diff'] ) ) { + if ( isset( $info['diff'] ) && is_array( $info['diff'] ) && $info['diff'] ) { if ( $factory === null ) { $factory = $this->newDiffOpFactory(); } -- To view, visit https://gerrit.wikimedia.org/r/386670 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifca99cc17b5b37016fb6345dbf4e83912c081204 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Ladsgroup <ladsgr...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits