Manual:Hooks/CategoryPageView

Details

 * $catpage: CategoryPage instance

If this method returns, then the default behavior of CategoryPage::view will be skipped.

Note that if there is a diff and  is set, then the diff would be displayed and this hook won't be reached.