Fixed documentation on Parser::getVariableValue
authorEddie Greiner-Petter <git@eddie-sh.de>
Sat, 18 Feb 2017 13:13:39 +0000 (14:13 +0100)
committerEddieGP <wikimedia.org@eddie-sh.de>
Sat, 18 Feb 2017 22:41:12 +0000 (22:41 +0000)
commit635040c91d6502a54537f31b0859998c55c1e9b8
tree9e672e00ab599f08c939f438854bfeb711cf74a9
parente87d81dea72a7a09c34c40e692f58cdf94d1525d
Fixed documentation on Parser::getVariableValue

$index is definitely not a int here, see the big switch( $index )-case
statement below. It switches for strings, not numbers. Also, note that
this is lowercase, one might expect it to be uppercase as this is how
magic words are written in wikitext.

Bug: T96633
Change-Id: Iea93c3796fdee4ed7abbb7608e89b627ca95aead
includes/parser/Parser.php