more docs
This commit is contained in:
parent
04471a2875
commit
6a0c5c4e2d
1 changed files with 11 additions and 1 deletions
|
@ -14,5 +14,15 @@ class LinkScanInfo extends ExtensionInfo
|
||||||
public array $authors = self::SHISH_AUTHOR;
|
public array $authors = self::SHISH_AUTHOR;
|
||||||
public string $license = self::LICENSE_GPLV2;
|
public string $license = self::LICENSE_GPLV2;
|
||||||
public string $description = "Find posts that are referenced in a block of text";
|
public string $description = "Find posts that are referenced in a block of text";
|
||||||
public ?string $documentation = "With this extension enabled, you can paste a block of text into the search field, and the code will scan the text for URLs referencing the site, and show them as search results";
|
public ?string $documentation = "
|
||||||
|
With this extension enabled, you can paste a block of text into
|
||||||
|
the search field, and the code will scan the text for URLs
|
||||||
|
referencing the site, and show them as search results
|
||||||
|
|
||||||
|
<p>By default scan-for-URLs mode will be activated if somebody
|
||||||
|
searches for text which includes <code>http://</code>
|
||||||
|
or <code>https://</code> - but you can change this by setting
|
||||||
|
<code>link_scan_trigger</code> in the config table, eg to
|
||||||
|
<code>https?://www.mysite.com/</code>
|
||||||
|
";
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue