K (1 Version importiert) |
hw>Unknown user Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{ | ==DescriptionMsg== | ||
{{ | {{AutoDocDescriptionMsg | ||
| | |name = BlueSpiceRating | ||
|desc = {{int:bs-rating-extension-description | |||
{{ | }} | ||
}} | |||
{{ | ==License== | ||
{{ | {{AutoDocLicense | ||
|name = GPL-3.0-only | |||
}} | |||
==Requirements== | |||
{{AutoDocRequirements | |||
|mediawiki = {{AutoDocVersion | |||
|name = MediaWiki | |||
|version = 1.35.0 | |||
}} | |||
|extensions = {{AutoDocVersion | |||
|name = BlueSpiceFoundation | |||
|version = 4.0 | |||
}} | |||
}} | |||
==IntegratesInto== | |||
{{AutoDocIntegratesInto | |||
|into = {{AutoDocListItem | |||
|item = BlueSpicePrivacy | |||
}} | |||
{{AutoDocListItem | |||
|item = BlueSpiceRating | |||
}} | |||
}} | |||
==SpecialPages== | |||
{{AutoDocSpecialPages | |||
|SpecialPages = {{AutoDocCallback | |||
|name = Rating | |name = Rating | ||
| | |callback = \BlueSpice\Rating\Special\Rating | ||
}} | |||
{{ | {{AutoDocCallback | ||
|name = Recommendations | |name = Recommendations | ||
| | |callback = \BlueSpice\Rating\Special\Recommendations | ||
}} | |||
}} | |||
==Permissions== | |||
{{ | {{AutoDocPermissions | ||
{{ | |permissions = {{AutoDocPermission | ||
| | |name = rating-archive | ||
|type = namespace | |type = namespace | ||
|roles = admin, | |roles = admin, editor, maintenanceadmin | ||
|desc = | |desc = {{int:right-rating-archive | ||
}} | |||
{{ | }} | ||
| | {{AutoDocPermission | ||
|name = rating-read | |||
|type = namespace | |type = namespace | ||
|roles = admin, | |roles = admin, commenter, editor, maintenanceadmin, reader | ||
|desc = | |desc = {{int:right-rating-read | ||
}} | |||
{{ | }} | ||
| | {{AutoDocPermission | ||
|name = rating-viewspecialpage | |||
|type = global | |type = global | ||
|roles = admin, | |roles = admin, editor, maintenanceadmin, reader | ||
|desc = | |desc = {{int:right-rating-viewspecialpage | ||
}} | |||
{{ | }} | ||
| | {{AutoDocPermission | ||
|name = rating-write | |||
|type = namespace | |type = namespace | ||
|roles = author,< | |roles = author, commenter, editor, maintenanceadmin | ||
| | |desc = {{int:right-rating-write | ||
}} | |||
{{ | }} | ||
}} | |||
==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/ChameleonSkinTemplateOutputPageBeforeExec ChameleonSkinTemplateOutputPageBeforeExec] | |||
|callback = \BlueSpice\Rating\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddArticleRating::callback, \BlueSpice\Rating\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddArticleLikeRating::callback, \BlueSpice\Rating\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddRating::callback, \BlueSpice\Rating\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddRecommendationsGlobalAction::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, \BlueSpice\Rating\Hook\LoadExtensionSchemaUpdates\AddMigrateSettingsFromDBMaintenanceScript::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/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration] | |||
|callback = BlueSpice\Rating\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserMergeAccountFields UserMergeAccountFields] | |||
|callback = \BlueSpice\Rating\Hook\UserMergeAccountFields\MergeRatingDBFields::callback | |||
}} | |||
}} | |||
Version vom 7. Dezember 2021, 10:53 Uhr
DescriptionMsg
Stellt ein Bewertungssystem zur Verfügung.
License
GPL v3
Requirements
- MediaWiki: 1.35.0
- BlueSpiceFoundation: 4.0
IntegratesInto
- 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
- BSApiNamespaceStoreMakeData
- BSMigrateSettingsFromDeviatingNames
- BSMigrateSettingsSetNewSettings
- BeforePageDisplay
- ChameleonSkinTemplateOutputPageBeforeExec
- GetDoubleUnderscoreIDs
- LoadExtensionSchemaUpdates
- MWStakeCommonUIRegisterSkinSlotComponents
- NamespaceManager::editNamespace
- NamespaceManager::getMetaFields
- NamespaceManager::writeNamespaceConfiguration
- UserMergeAccountFields