The declaration of uninstall() didn't match
serendipity_plugin::uninstall, making PHP
spew warnings to the log.
Signed-off-by: Thomas Hochstein <thh@inter.net>
German language only, as there will be very
little need to link to German law and
decisions in a foreign language blog.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Bump version, add me as author.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Normalize whitespace.
Replace mix of spaces and tabs by spaces.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Add option for linking to buzer.de
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Add Changelog.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Reformat and rephrase plugin configuration screen.
Remove HTML added in 88e58798af05a79543e89aa87705e85a325cc164
as it was not parsed.
Move link style description to info text.
Improve some phrases.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Add option to exclude headings from linking.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Update dejure-plugin to version 1.6 from upstream.
v1.6 was not yet published.
Improve fsockopen, switch to SSL, add user agent.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Bugfix: Don't cache results after errors.
djo_vernetzen_ueber_dejure_org() will return FALSE
instead of an output text if the API call fails
or results in any error.
But the "master" function djo_vernetzen() will call
integritaetskontrolle() anyway. The latter function
checks whether input and output texts match after
removing all added links. If the check succeeds, it
will return the output text; if the check fails, the
input text. So the result will always be TRUE.
And only after this will cache the output text if
it's not FALSE - which it can't be, ever. So if the
API call fails, the unmodified input text will be
cached.
But if we don't call integritaetskontrolle() after
API failures - which isn't necessary as the output
text is just FALSE anyway -, the FALSE will carry
through so nothing is cached.
Signed-off-by: Thomas Hochstein <thh@inter.net>
v1.5 taken from <https://dejure.org/vernetzung.html>
with author's consent.
Some minor changes to the database queries, trying
to be more compatible to other database backends,
see <https://board.s9y.org/viewtopic.php?f=10&t=21255>.
Update language files (as far as I speak those
languages).
Signed-off-by: Thomas Hochstein <thh@inter.net>
Add the entry id as a prefix to every footnote
links so links are unique even when more than
one entry is displayed (title page, search
results etc.).
This can only be done with PHP Markdown Lib;
the "classic" version does not have such a
configuration variable.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Get MarkdownExtra working.
It's not enough to import the right library
(Markdown or MarkdownExtra); you'll have to
call the right functions, too!
For the "classic" implementation, there's no
difference, as it seems.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Upgrade PHP Markdown Lib to 1.7.0
Former version was 1.4.0 from 2013.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* serendipity_event_markdown 1.23
Update Changelog, bump version number.
Add me as author.
Signed-off-by: Thomas Hochstein <thh@inter.net>
These plugins have been identified as deprecatable at #s9ycamp2017.
They use service that no longer exist or provide features that no
longer make sense or have been replaced.
We won't miss them.
References s9y/Serendipity#499
The previous update failed because the files for jQuery 3.2.0 were
not copied from node_modules to the src dirs. I need to write a
build task for that. :(