Allow ParserLimitReportFormat to change $value
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 22 Aug 2013 17:47:23 +0000 (13:47 -0400)
committerTim Starling <tstarling@wikimedia.org>
Fri, 8 Nov 2013 05:06:02 +0000 (05:06 +0000)
commitac2b9d7baec40007f4e51b631b97546e1a277be7
tree2e3c136f0948c67ffc9b2118d4ba96c3ab3eea57
parent52e546640c5c0c0e817ae1fc5451a934b2c34de9
Allow ParserLimitReportFormat to change $value

It's likely that an extension might want to reformat the value (e.g. by
passing it through Language::formatSize()), but otherwise use the
default behavior for the key. Make $value a reference parameter so they
don't have to reimplement all the logic for laying out the row.

Change-Id: I7799616a602d90e1b8d3f0ece35811ca387bade7
docs/hooks.txt
includes/EditPage.php
includes/parser/Parser.php