If we try to use
mw.util.getParamValue( 'TEST', 'example.com?' + $.param({ 'TEST': 'a b+c' }) )
the result will be "a+b+c", which is wrong and breaks some scripts. Compare with
decodeURIComponent(encodeURIComponent('a b+c'))
which results in "a b+c", as expected.
Is it possible to fix mw.util.getParamValue so that we can get the original parameter value?
Version: unspecified
Severity: normal