(bug 38559) Add hook to info action to allow extensions to add extra
authormadman <madman.enwiki@gmail.com>
Fri, 5 Oct 2012 03:45:45 +0000 (03:45 +0000)
committermadman <madman.enwiki@gmail.com>
Fri, 5 Oct 2012 14:34:50 +0000 (14:34 +0000)
commit6fcc477edc9c8c17aa6eb9804103bc6d56e6aaba
treefa9b78659451567d5c5fc4b0b070ce0ca3efa4ae
parente68aeb4e17192d6ab088eae412ecbf7b92db438e
(bug 38559) Add hook to info action to allow extensions to add extra
information to a pages info

* Added new function, pageInfo, to return page information in easily
  manipulated format.
* Added call to wfRunHooks.
* Moved credits to follow the footer (this is a change for my
  aesthetics that may be reverted, but it also allows admins to more
  easily add a horizontal break or some such in pageinfo-footer).
* All messages are escaped.

Have tested extensively, all information is rendered exactly as it
was before as far as I can see.

Change-Id: I702f2f13d3b7af26d89c4fd9002d3161dc7905d2
includes/actions/InfoAction.php