Extension:Uservoice

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Uservoice
Release status: stable
Implementation Skin
Description Provides a widget to access UserVoice.
Author(s) Daniel Schuba (DaSchtalk)
Latest version 0.9 (2013-07-06)
Database changes No
License GPL
Download
Parameters
  • $wgUservoiceKey
  • $wgUservoiceMode
  • $wgUservoicePrimColor
  • $wgUservoiceLinkColor
  • $wgUservoiceDefaultMode
  • $wgUservoiceID
  • $wgUservoiceLabel
  • $wgUservoiceTabColor
  • $wgUservoicePosition
Hooks used
BeforePageDisplay
Translate the Uservoice extension if it is available at translatewiki.net
Check usage and version matrix.

The Uservoice extension provides a widget to access UserVoice.

Repository

Download

Download using Git

git clone https://github.com/DaSchTour/mediawiki-extension-uservoice.git

Installation[edit]

Download the files from github. Put them in /extensions/RelationLinks and add the following to your LocalSettings.php:

require_once( "$IP/extensions/Uservoice/Uservoice" );

Configuration[edit]

  • $wgUservoiceKey – the cryptic part in uv.src='//widget.uservoice.com/$wgUservoiceKey.js'
  • $wgUservoiceMode – full (feedback and support) or feedback or support
  • $wgUservoicePrimColor – primary color (hex with hash)
  • $wgUservoiceLinkColor – link color (hex with hash)
  • $wgUservoiceDefaultMode – if mode is full use feedback or support for default
  • $wgUservoiceID – forum_id from the widgets config (numer)
  • $wgUservoiceLabel – label shown on the tab (any Text)
  • $wgUservoiceTabColor – tab color (hex with hash)
  • $wgUservoicePosition – position may be top-left, top-right, middle-left, middle-right, bottom-left, bottom-right