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/favorites/info.php

22 lines
767 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class FavoritesInfo extends ExtensionInfo
{
public const KEY = "favorites";
public string $key = self::KEY;
public string $name = "Favorites";
2023-11-11 21:49:12 +00:00
public array $authors = ["Daniel Marschall" => "info@daniel-marschall.de"];
public string $license = self::LICENSE_GPLV2;
public string $description = "Allow users to favorite images";
public ?string $documentation =
2024-08-31 16:05:18 +00:00
"Gives users a \"favorite this image\" button that they can press
<p>Favorites for a user can then be retrieved by searching for \"favorited_by=UserName\"
<p>Popular images can be searched for by eg. \"favorites>5\"
2020-10-26 15:15:51 +00:00
<p>Favorite info can be added to a post's filename or tooltip using the \$favorites placeholder";
}