[Mediawiki-l] Error after upgrading from 1.9.3

Michael Daly michael.daly at kayakwiki.org
Sat Jun 14 20:01:14 UTC 2008

Philip Beach wrote:

> Detected bug in an extension! Hook efDspHook failed to return a value;
> should return true to continue hook processing or false to abort.

The function is supposed to return a value of "true" if it worked 
correctly and things should continue or "false" if not.  However, the 
function returns nothing.

With the newer releases of MW, this is enforced and generates an error. 
  You have to get the extension writer to update the extension to follow 
the standards.

If you can figure out the code, you can change it yourself to return 
either "true" or "false" as the case demands.


More information about the MediaWiki-l mailing list