7 Commits
Author SHA1 Message Date
Le Philousophe 710b95a5f4 WEB: Better error handling
When PHP functions fail they often return false instead of the expected
object type.
CHeck for this value and fail properly.
2025-08-24 12:32:47 +02:00
Le Philousophe cc9fa80181 WEB: Add typing 2025-08-24 12:32:47 +02:00
Le Philousophe d7c3bd0528 WEB: Various small fixes
These are either cosmetic or spotted by PHPStan
2025-08-24 12:32:47 +02:00
Le Philousophe 649ade2977 WEB: Make index a void function
It's used with Smarty::display which is void so there is never anything
to return and the return value was never checked.
Propagate this change everywhere.
2025-08-24 12:32:46 +02:00
Le Philousophe 832f769fe3 WEB: Add a description and a descriptive title for OpenGraph 2024-09-14 13:27:42 +02:00
Mataniko fdc6d5ff6e WEB: Fix loading localized data for news and articles 2020-10-10 01:34:06 -04:00
Mataniko 9cf9a19588 WEB: Support arbitary article pages 2020-10-08 23:08:51 -04:00