We have various lines of constructing the various GET parameters for the href value by appending strings together; instead, we should add values to an array and at the end set it once with the wfArrayToCgi() built-in MediaWiki function.
Description
Details
Event Timeline
Hey @Jdforrester-WMF just want to clarify if only PageRenderingHandler::onSkinTemplateNavigation__Universal should use wfArrayToCgi() and not the other functions present in PageRenderingHandler. Thanks!
Sorry, I'm going to remove myself from being assigned for time being. I did make some progress but got too busy IRL and forgot all about it.
Change #1065263 had a related patch set uploaded (by Aditya0545; author: Aditya0545):
[mediawiki/extensions/WikiLambda@master] PageRenderingHandler::onSkinTemplateNavigation_Universal to use wfArrayToCgi()
I have fixed this bug, could you please check it and give me review ?
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1065263
Change #1066314 had a related patch set uploaded (by Aditya0545; author: Aditya0545):
[mediawiki/extensions/WikiLambda@master] PageRenderingHandler::onSkinTemplateNavigation_Universal to use wfArrayToCgi()
Change #1066314 abandoned by Aditya0545:
[mediawiki/extensions/WikiLambda@master] PageRenderingHandler::onSkinTemplateNavigation_Universal to use wfArrayToCgi()