Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpiceRating: Unterschied zwischen den Versionen

hw>Unknown user
Keine Bearbeitungszusammenfassung
 
K (1 Version importiert)
 
(14 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Stellt ein Bewertungssystem zur Verfügung.
|name = BlueSpiceRating
}}
|desc = {{int:bs-rating-extension-description
{{ExtensionMainDescClose}}
}}
 
}}
{{ExtensionSpecialPagesOpen}}
==License==
{{ExtensionSpecialPagesBody
{{AutoDocLicense
|name = GPL-3.0-only
}}
==Requirements==
{{AutoDocRequirements
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|version = 1.39.0
}}
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|version = 4.3
}}
}}
==IntegratesInto==
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|item = BlueSpiceDiscovery
}}
{{AutoDocListItem
|item = BlueSpicePrivacy
}}
{{AutoDocListItem
|item = BlueSpiceRating
}}
}}
==SpecialPages==
{{AutoDocSpecialPages
|SpecialPages = {{AutoDocCallback
|name = Rating
|name = Rating
|class = \BlueSpice\Rating\Special\Rating
|callback = \BlueSpice\Rating\Special\Rating
}}
}}
{{ExtensionSpecialPagesBody
{{AutoDocCallback
|name = Recommendations
|name = Recommendations
|class = \BlueSpice\Rating\Special\Recommendations
|callback = \BlueSpice\Rating\Special\Recommendations
}}
}}
{{ExtensionSpecialPagesClose}}
}}
 
==Permissions==
{{ExtensionPermissionsOpen}}
{{AutoDocPermissions
{{ExtensionPermissionsBody
|permissions = {{AutoDocPermission
|permission = rating-archive
|name = rating-archive
|type = namespace
|type = namespace
|roles = admin,<br>editor,<br>maintenanceadmin
|roles = admin, editor, maintenanceadmin
|desc = Abstimmungen von Seiten entfernen
|desc = {{int:right-rating-archive
}}
}}
{{ExtensionPermissionsBody
}}
|permission = rating-read
{{AutoDocPermission
|name = rating-read
|type = namespace
|type = namespace
|roles = admin,<br>commenter,<br>editor,<br>maintenanceadmin,<br>reader
|roles = admin, commenter, editor, maintenanceadmin, reader
|desc = Lies die Bewertungen auf den Seiten
|desc = {{int:right-rating-read
}}
}}
{{ExtensionPermissionsBody
}}
|permission = rating-viewspecialpage
{{AutoDocPermission
|name = rating-viewspecialpage
|type = global
|type = global
|roles = admin,<br>editor,<br>maintenanceadmin,<br>reader
|roles = admin, editor, maintenanceadmin, reader
|desc = Seiten ansehen, die mit dem "Rating-Viewspecialpage"-Recht geschützt sind
|desc = {{int:right-rating-viewspecialpage
}}
}}
{{ExtensionPermissionsBody
}}
|permission = rating-write
{{AutoDocPermission
|name = rating-write
|type = namespace
|type = namespace
|roles = author,<br>commenter,<br>editor,<br>maintenanceadmin
|roles = author, commenter, editor, maintenanceadmin
|desc = Über Seiten abstimmen
|desc = {{int:right-rating-write
}}
}}
{{ExtensionPermissionsClose}}
}}
}}
==Config==
{{AutoDocConfig
|config = {{AutoDocOption
|name = RatingArticleEnabledNamespaces
|value = <nowiki>array (
)</nowiki>
}}
{{AutoDocOption
|name = RatingArticleLikeEnabledNamespaces
|value = <nowiki>array (
)</nowiki>
}}
}}
==ApiModules==
{{AutoDocApiModules
|APIModules = {{AutoDocCallback
|name = bs-rating-tasks
|callback = \BlueSpice\Rating\Api\Task\Rating
}}
{{AutoDocCallback
|name = bs-ratingarticle-store
|callback = \BlueSpice\Rating\Api\Store\Article
}}
{{AutoDocCallback
|name = bs-ratingarticlelike-store
|callback = \BlueSpice\Rating\Api\Store\ArticleLike
}}
}}
==Hooks==
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSApiNamespaceStoreMakeData BSApiNamespaceStoreMakeData]
|callback = BlueSpice\Rating\Hook\BSApiNamespaceStoreMakeData\AddData::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSMigrateSettingsFromDeviatingNames BSMigrateSettingsFromDeviatingNames]
|callback = \BlueSpice\Rating\Extension::onBSMigrateSettingsFromDeviatingNames
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSMigrateSettingsSetNewSettings BSMigrateSettingsSetNewSettings]
|callback = \BlueSpice\Rating\Hook\BSMigrateSettingsSetNewSettings\SetGlobals::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\Rating\Hook\BeforePageDisplay\AddResources::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetDoubleUnderscoreIDs GetDoubleUnderscoreIDs]
|callback = \BlueSpice\Rating\Hook\GetDoubleUnderscoreIDs\AddNoRating::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|callback = \BlueSpice\Rating\Hook\LoadExtensionSchemaUpdates\AddRatingDatabase::callback, \BlueSpice\Rating\Hook\LoadExtensionSchemaUpdates\AddRatingRemoveArchivedMaintenanceScript::callback, \BlueSpice\Rating\Hook\LoadExtensionSchemaUpdates\AddRatingSetDefaultSubTypeMaintenanceScript::callback, \BlueSpice\Rating\Hook\LoadExtensionSchemaUpdates\AddBSRatingRemoveDuplicateEntriesMaintenanceScript::callback, \BlueSpice\Rating\Hook\LoadExtensionSchemaUpdates\AddRatingMigrateRatedCommentsScript::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents]
|callback = common-user-interface
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::editNamespace NamespaceManager::editNamespace]
|callback = BlueSpice\Rating\Hook\NamespaceManagerEditNamespace\SetRatingValues::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::getMetaFields NamespaceManager::getMetaFields]
|callback = BlueSpice\Rating\Hook\NamespaceManagerGetMetaFields\RegisterMetaFields::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManagerBeforePersistSettings NamespaceManagerBeforePersistSettings]
|callback = writeNamespaceConfiguration
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserMergeAccountFields UserMergeAccountFields]
|callback = \BlueSpice\Rating\Hook\UserMergeAccountFields\MergeRatingDBFields::callback
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgRatingArticleEnabledNamespaces
|defaultValue = <nowiki>[]</nowiki>
|overrideBy = $bsgOverrideRatingArticleEnabledNamespaces
}}
{{ExtensionConfigBody
|name = $bsgRatingArticleLikeEnabledNamespaces
|defaultValue = <nowiki>[]</nowiki>
|overrideBy = $bsgOverrideRatingArticleLikeEnabledNamespaces
}}
{{ExtensionConfigClose}}

Aktuelle Version vom 10. Juli 2024, 14:52 Uhr

DescriptionMsg

Stellt ein Bewertungssystem zur Verfügung.

License

GPL v3

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

IntegratesInto

  • BlueSpiceDiscovery
  • BlueSpicePrivacy
  • BlueSpiceRating

SpecialPages

  • Rating
  • Recommendations

Permissions

Rechte

Name Beschreibung Rollen
rating-archive Abstimmungen von Seiten entfernen admin, editor, maintenanceadmin
rating-read Lies die Bewertungen auf den Seiten admin, commenter, editor, maintenanceadmin, reader
rating-viewspecialpage Seiten ansehen, die mit dem "Rating-Viewspecialpage"-Recht geschützt sind admin, editor, maintenanceadmin, reader
rating-write Über Seiten abstimmen author, commenter, editor, maintenanceadmin

Config

Konfiguration

Name Wert
RatingArticleEnabledNamespaces array ( )
RatingArticleLikeEnabledNamespaces array ( )

ApiModules

API Modules

  • bs-rating-tasks
  • bs-ratingarticle-store
  • bs-ratingarticlelike-store

Hooks

Hooks