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)); }
function __construct(Page $page, IContextSource $context) { parent::__construct($page, $context, 'edit'); }