WebRequest: Use getRawVal instead of getGPCVal where possible
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 9 Sep 2016 22:46:08 +0000 (15:46 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 9 Sep 2016 22:46:08 +0000 (15:46 -0700)
commit83df6d8123e3b56af737ff0996157446f2b02639
treeb75ef2715043eab542774048acc7b32676c24efc
parent3de9d6721e2adbaecbd276b47cc7859563392b0d
WebRequest: Use getRawVal instead of getGPCVal where possible

Avoid getGPCVal() for simple methods that only need a boolean,
number or specific string outcome.

This saves overhead of touching $wgContLang or UtfNormal\Validator
and makes load.php initialisation no longer depend on it.

Change-Id: I8ce1fa31f5102b3fa18b0d0b9f56c42cb90146a1
includes/WebRequest.php