Last modified: 2014-11-13 12:00:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70699, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68699 - TemplateData.hooks.php:71: MWException: Invalid callback in hooks for ParserFirstCallInit
TemplateData.hooks.php:71: MWException: Invalid callback in hooks for ParserF...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
TemplateData (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: 67216
  Show dependency treegraph
 
Reported: 2014-07-28 00:03 UTC by Nemo
Modified: 2014-11-13 12:00 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-07-28 00:03:59 UTC
Doing what in attachment 16052 [details] minus Wikibase, I get 1404 times MWException: Invalid callback in hooks for ParserFirstCallInit of which 1120 times relating to /srv/vagrant/mediawiki/extensions/TemplateData/TemplateData.hooks.php:71 like for instance

vagrant@nemobis:/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php includes

[...]

1392) ParserTests::testParserTest with data set #1104 ('HTML tag with necessary entities in attributes', '<span title="&amp;amp;">foo</span>', '<p><span title="&amp;amp;">foo</span>
</p>', '', '')
MWException: Invalid callback in hooks for ParserFirstCallInit


/srv/vagrant/mediawiki/includes/Hooks.php:182
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:4031
/srv/vagrant/mediawiki/includes/parser/Parser.php:279
/srv/vagrant/mediawiki/includes/parser/Parser.php:291
/srv/vagrant/mediawiki/includes/parser/Parser.php:4966
/srv/vagrant/mediawiki/includes/parser/Parser.php:4720
/srv/vagrant/mediawiki/includes/StubObject.php:105
/srv/vagrant/mediawiki/includes/StubObject.php:125
/srv/vagrant/mediawiki/includes/content/WikitextContent.php:145
/srv/vagrant/mediawiki/includes/content/WikitextContent.php:145
/srv/vagrant/mediawiki/includes/page/WikiPage.php:2140
/srv/vagrant/mediawiki/extensions/TemplateData/TemplateData.hooks.php:71
/srv/vagrant/mediawiki/includes/Hooks.php:206
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:4031
/srv/vagrant/mediawiki/includes/page/WikiPage.php:1780
/srv/vagrant/mediawiki/tests/parser/parserTest.inc:1493
/srv/vagrant/mediawiki/tests/phpunit/includes/parser/NewParserTest.php:934
/srv/vagrant/mediawiki/tests/phpunit/includes/parser/NewParserTest.php:452
/srv/vagrant/mediawiki/tests/phpunit/includes/parser/NewParserTest.php:683
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
Comment 1 James Forrester 2014-11-13 11:56:08 UTC
Is Wikibase interfering with TemplateData's hook somehow? Marking as WFM as I couldn't reproduce in 15 minutes of fiddling, and there have been no other reports of this as an issue.
Comment 2 Nemo 2014-11-13 12:00:10 UTC
(In reply to James Forrester from comment #1)
> Is Wikibase interfering with TemplateData's hook somehow?

Maybe; did you have both installed?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links