Hoo man has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250467
Change subject: Use a local (relative) URL as action in forms created by
SpecialModifyEntity
......................................................................
Use a local (relative) URL as action in forms created by SpecialModifyEntity
Needed for mobile, because otherwise we will send people to the desktop
site for submitting their changes.
Change-Id: I3f3acec4e227139dc2e54ba9067080ce5cec2dad
(cherry picked from commit e8b7c164035d16f65d3f1fbe0044a9926dede926)
---
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/67/250467/1
diff --git a/repo/includes/specials/SpecialModifyEntity.php
b/repo/includes/specials/SpecialModifyEntity.php
index ed13cdb..36a73de 100644
--- a/repo/includes/specials/SpecialModifyEntity.php
+++ b/repo/includes/specials/SpecialModifyEntity.php
@@ -168,7 +168,7 @@
'form',
array(
'method' => 'post',
- 'action' =>
$this->getPageTitle()->getFullUrl(),
+ 'action' =>
$this->getPageTitle()->getLocalURL(),
'name' => strtolower( $this->getName()
),
'id' => 'wb-' . strtolower(
$this->getName() ) . '-form1',
'class' => 'wb-form'
--
To view, visit https://gerrit.wikimedia.org/r/250467
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f3acec4e227139dc2e54ba9067080ce5cec2dad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.27.0-wmf.3b
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits