Last edited 4 months ago
by Robert Vogel

AutoDoc:BlueSpiceRating: Difference between revisions

m (1 revision imported)
hw>Unknown user
No edit summary
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.1
}}
}}
}}
}}
Line 23: Line 23:
{{AutoDocIntegratesInto
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|into = {{AutoDocListItem
|item = BlueSpiceDiscovery
}}
{{AutoDocListItem
|item = BlueSpicePrivacy
|item = BlueSpicePrivacy
}}
}}
Line 127: Line 130:
{{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 145:
}}
}}
{{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

Revision as of 11:44, 22 June 2023

DescriptionMsg

Provides a rating system

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.1

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