jenkins-bot has submitted this change and it was merged.

Change subject: Fix removing of references not updating revid properly
......................................................................


Fix removing of references not updating revid properly

Bug: T103603
Change-Id: Ic99fdbb06d7fdaf3d81a138b16face13df983650
---
M view/resources/wikibase/entityChangers/ReferencesChanger.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/view/resources/wikibase/entityChangers/ReferencesChanger.js 
b/view/resources/wikibase/entityChangers/ReferencesChanger.js
index 6aebd68..dfb3446 100644
--- a/view/resources/wikibase/entityChangers/ReferencesChanger.js
+++ b/view/resources/wikibase/entityChangers/ReferencesChanger.js
@@ -75,7 +75,7 @@
                        this._revisionStore.getClaimRevision( statementGuid )
                )
                .done( function( result ) {
-                       self._revisionStore.setClaimRevision( result.pageinfo, 
statementGuid );
+                       self._revisionStore.setClaimRevision( 
result.pageinfo.lastrevid, statementGuid );
 
                        // FIXME: Update self._entity
                        deferred.resolve();

-- 
To view, visit https://gerrit.wikimedia.org/r/220424
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic99fdbb06d7fdaf3d81a138b16face13df983650
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Bene <benestar.wikime...@gmail.com>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to