On 6/30/14, Adam Wight <awight(a)wikimedia.org> wrote:
Hi,
Fundraising would like the ability to snapshot or retrieve a CentralNotice
banner exactly as it was rendered at an earlier time, including the old
revisions of templates, which is tricky and AFAICT not supported by
MediaWiki-core.
Exact is hard. CSS changes, javascript changes, central notice
extension changes, etc.
But if you want to just implement this just in central notice in a
limited way, take a look at BeforeParserFetchTemplateAndtitle hook,
the setTemplateCallback method of ParserOptions, and the
BeforeParserFetchFileAndTitle hook (The $options array for that hook
can set a time and sha1 key).
--bawolff