Last modified: 2014-05-27 17:50:14 UTC
[aa3f4156] /wiki/Main_page Exception from line 212 of /var/www/html/mediawiki/includes/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: #0 /var/www/html/mediawiki/includes/GlobalFunctions.php(3877): Hooks::run(string, array) #1 /var/www/html/mediawiki/includes/parser/Parser.php(545): wfRunHooks(string, array) #2 /var/www/html/mediawiki/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer) #3 /var/www/html/mediawiki/includes/WikiPage.php(3552): WikitextContent->getParserOutput(Title, integer, ParserOptions) #4 /var/www/html/mediawiki/includes/PoolCounter.php(222): PoolWorkArticleView->doWork() #5 /var/www/html/mediawiki/includes/Article.php(708): PoolCounterWork->execute() #6 /var/www/html/mediawiki/includes/actions/ViewAction.php(44): Article->view() #7 /var/www/html/mediawiki/includes/Wiki.php(448): ViewAction->show() #8 /var/www/html/mediawiki/includes/Wiki.php(312): MediaWiki->performAction(Article, Title) #9 /var/www/html/mediawiki/includes/Wiki.php(602): MediaWiki->performRequest() #10 /var/www/html/mediawiki/includes/Wiki.php(467): MediaWiki->main() #11 /var/www/html/mediawiki/index.php(49): MediaWiki->run() #12 {main} Changing: public static function formatLimitData( $key, &$value, &$report, $isHTML, $localize ) { to: public static function formatLimitData( $key, $value, &$report, $isHTML, $localize ) { eliminates the exception.
If you're going to use Scribunto revision b58ee1da or later, you must use MediaWiki core version ac2b9d7b or later. I note both of these revisions are *not* included in 1.22 while both *are* in 1.23; I can only presume that you are using the MediaWiki core 1.22 release and trying to use Scribunto 1.23 or a development version.
(In reply to Brad Jorsch from comment #1) > If you're going to use Scribunto revision b58ee1da or later, you must use > MediaWiki core version ac2b9d7b or later. I note both of these revisions are > *not* included in 1.22 while both *are* in 1.23; I can only presume that you > are using the MediaWiki core 1.22 release and trying to use Scribunto 1.23 > or a development version. According to Git: Mediawiki 1.22.6 Scribunto 1.22 ???
Git won't tell you "Scribunto 1.22". And the REL1_22 branch of Scribunto doesn't contain "formatLimitData" at all.