This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/filter/info.php
discomrade 4a5d30e0bf [filter] add filter extension
This extension is derived from Danbooru's blacklist code
2024-04-05 17:42:03 +01:00

17 lines
645 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
class FilterInfo extends ExtensionInfo
{
public const KEY = "filter";
public string $key = self::KEY;
public string $name = "Filter Tags";
public array $authors = ["Danbooru Project" => "", "Discomrade" => ""];
public string $license = "WTFPL";
public string $description = "Allow users to filter out tags.";
public ?string $documentation = "Admins can set default filters and users can override them in user settings. This is derived from Danbooru's blacklist code, it works in the user's browser with JavaScript, and will hide posts until the filter runs.";
}