public function showForAction($action, OutputPage $output = null) { parent::showForAction($action, $output); $title = $this->context->getTitle(); $this->context->getUser()->clearNotification($title); if ($output === null) { $output = $this->context->getOutput(); } $output->addCategoryLinks($this->getCategories($title)); }