Preprocessor: Use correct cache prefix for the subclass
authorKevin Israel <pleasestand@live.com>
Mon, 26 Oct 2015 01:29:47 +0000 (21:29 -0400)
committerKevin Israel <pleasestand@live.com>
Mon, 26 Oct 2015 01:29:47 +0000 (21:29 -0400)
commit23ae30d61cca3148451d0b1971d2d466fb6aebad
treeb1c17056ae7785f1fbe9464a0b0780818a7cc849
parentf63f44d2d3e2b1877c1b79d1393908e80b6fef2f
Preprocessor: Use correct cache prefix for the subclass

Follows-up 1559be9f7aef, which caused "Preprocessor" to be used as the
cache prefix for all subclasses, by using late static binding to access
the constant. Though use of that feature has been discouraged[1], this
change is a straightforward bug fix, and any improvements can be made
separately.

[1]: https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Late_static_binding

Change-Id: Ib25e1908a6373f6675659a0906e12d4a38af014c
includes/parser/Preprocessor.php