On 6/30/14, Adam Wight <[email protected]> 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

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to