public function __construct( $query, $moduleName, $prefix = 'vi' ) { // We allow a subclass to override the prefix, to create a related API module. // Some other parts of MediaWiki construct this with a null $prefix, which used to be ignored when this only took two arguments if ( is_null( $prefix ) ) { $prefix = 'vi'; } parent::__construct( $query, $moduleName, $prefix ); }
public function __construct(ApiQuery $query, $moduleName) { parent::__construct($query, $moduleName, 'sii'); }