Bene has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/220424

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/24/220424/1

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: newchange
Gerrit-Change-Id: Ic99fdbb06d7fdaf3d81a138b16face13df983650
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Bene <benestar.wikime...@gmail.com>

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

Reply via email to