Feature summary:
The iw tool should support being called with URL-encoded query parameters, i.e. /toolname/path%3Fp1%3Dv1%26p2%3Dv2 should be equivalent to /toolname/path?p1=v1&p2=v2.
Use case(s):
It currently supports forwarding regular query parameters (since T258444 was fixed), but it’s not clear to me when this feature is actually used (@Legoktm or @Nintendofan885 may be able to explain). If you put a link like [[toolforge:foo?bar]] into wikitext, it will generate a link with a URL-encoded ?, & and =. IMHO it would be more useful if it also supported URL-encoded query parameters.
This would make it possible to convert many Toolforge links from extlink syntax to wikilink syntax, which is better for the database (see also T343131), as well as being more convenient to write by hand (though admittedly it doesn’t beat just copy+pasting a URL into an extlink).
For example, the wikitext [[toolforge:scholia?qid=Q1513315]] currently links to https://iw.toolforge.org/scholia%3Fqid%3DQ1513315 (demo on user sandbox), which redirects to https://scholia?qid=Q1513315.toolforge.org/. It would be better if it redirected to https://scholia.toolforge.org/?qid=Q1513315 instead.
Benefits:
Shrink the Commons database significantly (T343131#9147662).
Potential issues:
This changes the interpretation of any existing [[toolforge:foo?bar]] links. My guess is that there are essentially no current links with URL-encoded query parameters that actually do what the author intended, but I might be missing something.
I have no idea whether this feature request is even possible to implement in a Kubernetes Ingress.
If this is implemented, pasting Toolforge URLs with query parameters into VisualEditor will probably still generate external link syntax instead of wikilink syntax, because (I assume – pure guess) VisualEditor will (correctly) know that wikilink syntax would URL-encode the query parameters, without knowing that the resulting URL is actually equivalent.