Thread:Extension talk:Scribunto/Detected bug in an extension!

Just tried to install this extension to my 1.22.5 MW, but it's throwing exceptions. Here's an example from the command line:

error=MWException: Detected bug in an extension! Hook ScribuntoHooks::formatLimitData has invalid call signature; Parameter 2 to ScribuntoHooks::formatLimitData expected to be a reference, value given

Hooks.php: Detected bug in an extension! Hook ScribuntoHooks::formatLimitData has invalid call signature; Parameter 2 to ScribuntoHooks::formatLimitData expected to be a reference, value given Backtrace:
 * 1) 0 includes/GlobalFunctions.php(3877): Hooks::run(string, array)
 * 2) 1 includes/parser/Parser.php(545): wfRunHooks(string, array)
 * 3) 2 includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
 * 4) 3 includes/job/jobs/RefreshLinksJob.php(95): WikitextContent->getParserOutput(Title, integer, NULL, boolean)
 * 5) 4 includes/job/jobs/RefreshLinksJob.php(62): RefreshLinksJob::runForTitleInternal(Title, Revision, string)
 * 6) 5 maintenance/runJobs.php(101): RefreshLinksJob->run
 * 7) 6 maintenance/doMaintenance.php(113): RunJobs->execute
 * 8) 7 maintenance/runJobs.php(181): require_once(string)
 * 9) 8 {main}