OutputPage->getJSVars: Maintain symmetry between JS & PHP vars
authorOri Livneh <ori@wikimedia.org>
Thu, 26 Sep 2013 05:03:16 +0000 (22:03 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 27 Sep 2013 09:42:03 +0000 (11:42 +0200)
commit892037268639b6fe5bf05581cacdff329617ed86
tree25bdfaec1c5285404ba056ad2d74fd0ee321a642
parentbc69502492030842510a83505bd14fd4a8d19f6f
OutputPage->getJSVars: Maintain symmetry between JS & PHP vars

The function is more difficult to read than it need be by dint of some things
two names. I can't be the only one who finds 'wgCurRevisionId' => $latestRevID
ugly, right? Anyhow, lots of JS code depends on the JS variable names, whereas
the PHP variables exist only in the scope of that method, so it's clear that
it's the PHP names that should be brought in line.

Change-Id: Ibddd5d2fc8d75e0ade18ff3433714d52605f2911
includes/OutputPage.php