The query
part of a URL
seems to consist of key-value pairs separated by &
and associated by =
.
I\'ve taken t
Most likely what they are doing is just checking that the parameter is defined. By adding redirects
to the query string, that effectively is saying "redirects variable is true". So, adding redirects=0
is still defining that variable, and the MediaWiki API is noting that it is defined (not caring what the value is).
Your jQuery code will simply need to append that parameter (with any value, or no value) or omit it if you do not want it to be defined.