Hoo man has uploaded a new change for review.

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


Change subject: Fix the id preset in SpecialModifyEntity::getFormElements
......................................................................

Fix the id preset in SpecialModifyEntity::getFormElements

Change-Id: Ib101a96f29ee8ded3f91a8ca433dfea7b45e480e
---
M repo/includes/specials/SpecialModifyEntity.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/repo/includes/specials/SpecialModifyEntity.php 
b/repo/includes/specials/SpecialModifyEntity.php
index 9913d9f..b1bff6b 100644
--- a/repo/includes/specials/SpecialModifyEntity.php
+++ b/repo/includes/specials/SpecialModifyEntity.php
@@ -272,7 +272,7 @@
                )
                . Html::input(
                        'id',
-                       $this->getRequest()->getVal( 'id' ),
+                       $id,
                        'text',
                        array(
                                'class' => 'wb-input',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib101a96f29ee8ded3f91a8ca433dfea7b45e480e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to