AnotherLadsgroup has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/364618 )
Change subject: Add hidden field for base revision id in SpecialModifyEntity
......................................................................
Add hidden field for base revision id in SpecialModifyEntity
This later will be needed when detecting edit conflicts
Change-Id: Ic754ae6f0c850511a54910fdfc31ac8538c5f835
---
M repo/includes/Specials/SpecialModifyEntity.php
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/18/364618/1
diff --git a/repo/includes/Specials/SpecialModifyEntity.php
b/repo/includes/Specials/SpecialModifyEntity.php
index 34c455b..46a1e9d 100644
--- a/repo/includes/Specials/SpecialModifyEntity.php
+++ b/repo/includes/Specials/SpecialModifyEntity.php
@@ -236,6 +236,11 @@
'id' => $id,
'default' => $entity === null ? '' :
$entity->getId(),
],
+ 'revid' => [
+ 'name' => 'revid',
+ 'type' => 'hidden',
+ 'default' =>
$this->entityRevision->getRevisionId()
+ ]
];
}
--
To view, visit https://gerrit.wikimedia.org/r/364618
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic754ae6f0c850511a54910fdfc31ac8538c5f835
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: AnotherLadsgroup <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits