User "Catrope" posted a comment on MediaWiki.r93759. Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/93759#c20561 Commit summary:
Introduce a hook so extensions can customize what's considered to be a CSS/JS page. This is needed for the Gadgets extension in the RL2 branch Comment: And what would we do differently if it's true or false? The documentation is maybe a bit terse, but the idea is that this hook works just like userCan: change &$retval to change the return value, and return true/false to allow/prevent other hooks from running. The latter is done by wfRunHooks() behind the scenes. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
