Add limit report data on preview pages
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 14 Mar 2013 12:43:06 +0000 (08:43 -0400)
committerTim Starling <tstarling@wikimedia.org>
Tue, 13 Aug 2013 05:54:03 +0000 (05:54 +0000)
commit2b20038ce77ce8b939113a3edb7d25127c238d4e
treec4677899eaf513fabc7fcce8f295a422aff082e2
parentb345e2492bd495e5c57cca06255489ea2cc6b8ec
Add limit report data on preview pages

While we've long had the "NewPP limit report" hidden in an HTML comment,
it is hard for users to find this as they're not likely to look for
profiling information hidden in an HTML comment. Even for those aware of
it, it's not particularly convenient to find.

This changeset adds a table showing this information at the bottom of
the page preview. It also adds the ability for this information to be
added to the ParserOutput object in a structured manner, and various
messages so the report can be localized for the end user.

Note that, for backwards compatability, the default English messages are
used for the "NewPP limit report" comment rather than the localized
messages.

Change-Id: Ie065c7b5a17bbf1aa484d0ae1f3ee0f5d41f8495
RELEASE-NOTES-1.22
docs/hooks.txt
includes/EditPage.php
includes/parser/Parser.php
includes/parser/ParserOutput.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc
resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css
resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js