Tobias Gritschacher has uploaded a new change for review.

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

Change subject: Correct usage of getLocalURL
......................................................................

Correct usage of getLocalURL

Bug: 50890
Change-Id: I9fdb9ae2bc0f79049a48576d97bc85af283d4645
---
M repo/includes/view/TermBoxView.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/repo/includes/view/TermBoxView.php 
b/repo/includes/view/TermBoxView.php
index 19f307e..1f13260 100644
--- a/repo/includes/view/TermBoxView.php
+++ b/repo/includes/view/TermBoxView.php
@@ -94,7 +94,7 @@
                                
$this->sectionEditLinkGenerator->getHtmlForEditSection( $editDescriptionLink, 
$this->msg( 'wikibase-edit' ), 'span', $editable ),
                                $label !== false ? '' : 'wb-value-empty',
                                $description !== false ? '' : 'wb-value-empty',
-                               $title->getLocalURL() . '?setlang=' . $language
+                               $title->getLocalURL( array( 'setlang' => 
$language ) )
                        );
                }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fdb9ae2bc0f79049a48576d97bc85af283d4645
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>

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

Reply via email to