* @param string $subPage Subpage of the special page.
* @return string an AuthManager::ACTION_* constant.
*/
- protected function getDefaultAction( $subPage ) {
- throw new BadMethodCallException( 'Subclass did not implement getDefaultAction' );
- }
+ abstract protected function getDefaultAction( $subPage );
/**
* Return custom message key.