View Source Bonfire.Label (Bonfire v0.9.10-classic-beta.156)

Bonfire.Label is a powerful and flexible extension designed to enhance content moderation and improve online safety. Inspired by the design principles outlined by Prosocial Design (specifically the Label Misleading Content & Add Links to Reliable Related Content pattern), this library enables the addition of custom labels and descriptions to user-generated posts.

This feature aids in identifying and marking potentially misleading, harmful, or unsafe content, while also providing users with links to reliable and related information.

Features

  • Custom Labeling: Easily add custom labels to posts, categorizing them based on content, reliability, and safety.
  • Dynamic Descriptions: Append descriptions to posts to provide context, warnings, or additional information.
  • Link to Reliable Sources: Option to include up to 3 links to authoritative sources for further reading or fact-checking.
  • Configurable Settings: Tailor the permission system to fit the specific governance of your platform.
  • User-friendly Interface: Intuitive tools for moderators and administrators to manage labels and descriptions.

Copyright (c) 2020 Bonfire Contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Summary

Functions

Link to this function

changeset(label \\ %Label{}, params)

View Source
Link to this function

get(struct, key, default \\ nil)

View Source