Last modified: 2014-08-17 21:45:57 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 T71646, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69646 - Detected bug in an extension! Hook ParserAfterParse closure failed to return a value; should return true to continue hook processing or false to abort.
Detected bug in an extension! Hook ParserAfterParse closure failed to return ...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
REL1_21-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-16 09:56 UTC by eisber
Modified: 2014-08-17 21:45 UTC (History)
2 users (show)

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


Attachments

Description eisber 2014-08-16 09:56:14 UTC
Hi,

After including 

require_once "$IP/extensions/Math/Math.php";

in my LocalSettings.php I get 

Detected bug in an extension! Hook ParserAfterParse closure failed to return a value; should return true to continue hook processing or false to abort.
Backtrace:
#0 /var/www/localhost/htdocs/StatWiki/includes/GlobalFunctions.php(3883): Hooks::run('ParserAfterPars...', Array)
#1 /var/www/localhost/htdocs/StatWiki/includes/parser/Parser.php(384): wfRunHooks('ParserAfterPars...', Array)
#2 /var/www/localhost/htdocs/StatWiki/includes/content/WikitextContent.php(299): Parser->parse('Es sei <math> f...', Object(Title), Object(ParserOptions), true, true, 3731)
#3 /var/www/localhost/htdocs/StatWiki/includes/WikiPage.php(3402): WikitextContent->getParserOutput(Object(Title), 3731, Object(ParserOptions))
#4 /var/www/localhost/htdocs/StatWiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
#5 /var/www/localhost/htdocs/StatWiki/includes/Article.php(707): PoolCounterWork->execute()
#6 /var/www/localhost/htdocs/StatWiki/includes/actions/ViewAction.php(44): Article->view()
#7 /var/www/localhost/htdocs/StatWiki/includes/Wiki.php(439): ViewAction->show()
#8 /var/www/localhost/htdocs/StatWiki/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#9 /var/www/localhost/htdocs/StatWiki/includes/Wiki.php(565): MediaWiki->performRequest()
#10 /var/www/localhost/htdocs/StatWiki/includes/Wiki.php(458): MediaWiki->main()
#11 /var/www/localhost/htdocs/StatWiki/index.php(59): MediaWiki->run()
#12 {main}

Any help appreciated.

I'm on Gentoo, php 5.5, latest git of Math extension.
Comment 1 Andre Klapper 2014-08-17 10:18:29 UTC
eisber: Which MediaWiki version is used (note that currently, 1.23, 1.22 and 1.19 are supported)? 
You set the version field to REL1_21 so you're using the latest Math Git code from that Math Git branch?
Comment 2 eisber 2014-08-17 21:45:57 UTC
after upgrading to 1.23.1 (which I had to unmask on gentoo) it works like a charm!

Thanks!!!

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


Navigation
Links