ah didn't see it from that standpoint, you have a point there as I don't want to execute the standard mediawiki code that follows... so I'll just set $result to true then and return false :)
However, I think it is correct. Hooks should return true if the code
should keep going and run other hooks and the rest of the standard code, and false if it should stop there.