Commit graph

3 commits

Author SHA1 Message Date
Kunal Mehta 096f6e91fc Rewrite to avoid messing with global state
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
2016-09-19 16:29:14 -07:00
Siebrand Mazeland c0082dd7a6 Update identation to use tabs
Change-Id: I601a67d9f551d233f34c36b8e1e3ec0fe2c1542f
2015-10-12 09:06:26 +02:00
James D. Forrester 7c705dbac3 Rename to "CiteThisPage", make Special:CiteThisPage the primary location
Also remove vestiges of the Cite extension from when this used to live in
the same repo.

Change-Id: I17dfad706d46afb452e8ff29140834174470b398
2014-08-30 15:29:33 -07:00