function has_action($action) { if ($action->get_name() == MW_ACTION_EDIT) { return true; } return parent::has_action($action); }
function MW_SpecialPageWrapper($name, $wrapped) { parent::MW_SpecialPage($name); $this->wrapped = $wrapped; }