EBernhardson has submitted this change and it was merged.

Change subject: urlencode links to wiki
......................................................................


urlencode links to wiki

Change-Id: I5839d4c6e7507ff9a75b9e818b21bf81ab4a4335
---
M views/score_query.twig
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  EBernhardson: Verified; Looks good to me, approved



diff --git a/views/score_query.twig b/views/score_query.twig
index 4d3d412..32d295a 100644
--- a/views/score_query.twig
+++ b/views/score_query.twig
@@ -82,7 +82,7 @@
                             <span class="glyphicon glyphicon-chevron-up 
hide-snippet hidden"></span>
                             {{ child.vars.label }}
                             <small>
-                                <a href="{{ baseWikiUrl }}/{{ child.vars.label 
}}" target="_blank">link</a>
+                                <a href="{{ baseWikiUrl }}/{{ 
child.vars.label|url_encode }}" target="_blank">link</a>
                             </small>
                         </h5>
                         {% for choice in child %}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5839d4c6e7507ff9a75b9e818b21bf81ab4a4335
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/discernatron
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org>

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

Reply via email to