Last edited 4 months ago
by Robert Vogel

AutoDoc:BlueSpiceRating: Difference between revisions

m (1 revision imported)
m (1 revision imported)
 
(5 intermediate revisions by 4 users not shown)
Line 13: Line 13:
|mediawiki = {{AutoDocVersion
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|name = MediaWiki
|version = 1.35.0
|version = 1.39.0
}}
}}
|extensions = {{AutoDocVersion
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|name = BlueSpiceFoundation
|version = 4.0
|version = 4.3
}}
}}
}}
}}
Line 23: Line 23:
{{AutoDocIntegratesInto
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|into = {{AutoDocListItem
|item = BlueSpiceDiscovery
}}
{{AutoDocListItem
|item = BlueSpicePrivacy
|item = BlueSpicePrivacy
}}
}}
Line 116: Line 119:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\Rating\Hook\BeforePageDisplay\AddResources::callback
|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
{{AutoDocCallback
Line 127: Line 126:
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|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
|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
{{AutoDocCallback
Line 142: Line 141:
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManagerBeforePersistSettings NamespaceManagerBeforePersistSettings]
|callback = BlueSpice\Rating\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback
|callback = writeNamespaceConfiguration
}}
}}
{{AutoDocCallback
{{AutoDocCallback

Latest revision as of 14:50, 10 July 2024

DescriptionMsg

Provides a rating system

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

IntegratesInto

  • BlueSpiceDiscovery
  • BlueSpicePrivacy
  • BlueSpiceRating

SpecialPages

  • Rating
  • Recommendations

Permissions

Permissions

Name Description Role
rating-archive Remove votes from pages admin, editor, maintenanceadmin
rating-read Read ratings on pages admin, commenter, editor, maintenanceadmin, reader
rating-viewspecialpage View pages which are protected with the "Rating-Viewspecialpage" right admin, editor, maintenanceadmin, reader
rating-write Vote on pages author, commenter, editor, maintenanceadmin

Config

Configuration

Name Value
RatingArticleEnabledNamespaces array ( )
RatingArticleLikeEnabledNamespaces array ( )

ApiModules

API Modules

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

Hooks

Hooks