9use InvalidArgumentException;
28 parent::__construct( $context,
$page );
45 $className = match ( $typeName ) {
46 'revision' => ChangeTagsRevisionList::class,
47 'logentry' => ChangeTagsLogList::class,
48 default =>
throw new InvalidArgumentException(
"Class $typeName requested, but does not exist" )
50 return new $className( $context,
$page,
$ids );
58 $this->res = $this->
doQuery( $dbw );
81class_alias( ChangeTagsList::class,
'ChangeTagsList' );
Interface for objects which can provide a MediaWiki context on request.
Interface for objects (potentially) representing an editable wiki page.