Remove math specific code from ParserOptions
authorphysikerwelt <wiki@physikerwelt.de>
Mon, 20 Jan 2014 09:00:54 +0000 (09:00 +0000)
committerPhysikerwelt <wiki@physikerwelt.de>
Sat, 25 Jan 2014 21:41:29 +0000 (21:41 +0000)
commitdca260fb302153db4eaec78a7f6e148a12e0561b
tree6fda614cc4618267f5d2b46cf95980536332cd32
parente8dbd98d3fe68d041fb53e4889f4bfcccdf43a77
Remove math specific code from ParserOptions

There is some math specific code in ParserOptions.
To allow extensions like math to change the cache key in a reasonable matter,
they need to get access to the information which options were used. Therefore,
optionUsed is public now and the additional argument $forOptions was added to
the PageRenderingHash hook.

Bug: 60234
Change-Id: Ieecb27216c39b7e6e354b4a1904fbff06506307d
includes/parser/ParserOptions.php