The main goal of this rewrite is to not use or mess with any global
state.
The ParserGetVariableValueTs and ParserGetVariableValueVarCache hooks
were replaced with setting the timestamp via
ParserOptions::setTimestamp(). This also means that {{#time:...}} from
ParserFunctions extension will correctly use the page's timestamp
instead of the current one.
Disabling tidy is also done using ParserOptions instead of changing
global state.
Change-Id: Ib2810aa5891c57831380a1a4718656cc09932b96
The autocomplete search allows special pages to define the list of
subpages to be excepted. Fill up the function to show auto suggestion
for subpages of Special:CiteThisPage
Change-Id: I2426f21358644d2e6212fb239b2a3ad56fb1398f