mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
210cf29658
The main benefit of having a dedicated interface is that we can easily change the output format. So we're now using a custom array without references to the DB schema, thus making the import/export process completely independent from the schema. Change-Id: I4c0de41d914baf1e9a0e588bd31f95b3524a424b
15 lines
309 B
PHP
15 lines
309 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\AbuseFilter;
|
|
|
|
use InvalidArgumentException;
|
|
|
|
class InvalidImportDataException extends InvalidArgumentException {
|
|
/**
|
|
* @param string $data That is not valid
|
|
*/
|
|
public function __construct( string $data ) {
|
|
parent::__construct( "Invalid import data: $data" );
|
|
}
|
|
}
|