Extension:Pluso/da

This page is a translated version of the page Extension:Pluso and the translation is 7% complete.
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Pluso
Release status: stabil
PlusoSidebarTitle.png
Implementation Skin
Beskrivelse Adds social buttons in the left menu and the page title.
Forfatter(e) Alexandr Efremovdiskussion
Latest version 0.7 (2021-10-03)
MediaWiki 1.35+
Licens GNU General Public License 2.0 or later
Download

  • $wgPlusoSidebar
  • $wgPlusoBackgroundSidebar
  • $wgPlusoOptionsSidebar
  • $wgPlusoThemeSidebar
  • $wgPlusoServicesSidebar
  • $wgPlusoHeader
  • $wgPlusoMain
  • $wgPlusoBackgroundHeader
  • $wgPlusoOptionsHeader
  • $wgPlusoThemeHeader
  • $wgPlusoServicesHeader

Check usage and version matrix.

The Pluso extension adds a widget to the sidebar and the page title.

Note: To enter your ID in LocalSettings.php is an optional configuration.

  • Yes DoneNavigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'Pluso' );, you need to use:

require_once "$IP/extensions/Pluso/Pluso.php";

Configuration

Default Configuration

Screenshot articles with the widget title
Screenshot of the widget in the sidebar
Codes with skins
Default
$wgPlusoSidebar              = true;
$wgPlusoBackgroundSidebar    = 'transparent';
$wgPlusoThemeSidebar         = ["small","square","multiline","horizontal"];
$wgPlusoThemeSidebar         = '04';
$wgPlusoServicesSidebar      = 'vkontakte,odnoklassniki,facebook,twitter,livejournal,moimir';
$wgPlusoHeader               = true;
$wgPlusoMain                 = false;
$wgPlusoBackgroundHeader     = 'transparent';
$wgPlusoOptionsHeader        = ["small","square","line","horizontal"]
$wgPlusoThemeHeader          = '08';
$wgPlusoServicesHeader       = "vkontakte,odnoklassniki,facebook,twitter, livejournal, moimir";

Configuration Parameters

Parameter Default Description
$wgPlusoSidebar true Enables or disables the display of the widget Pluso in the sidebar
$wgPlusoHeader true Enables or disables the display of the widget Pluso in the title
$wgPlusoMain true Enables or disables the display of the widget Pluso on the main page
$wgPlusoServicesSidebar vkontakte, odnoklassniki, facebook, twitter, livejournal, moimir Service codes used in the sidebar
$wgPlusoServicesHeader vkontakte, odnoklassniki, facebook, twitter, livejournal, moimir Service codes used in the title
$wgPlusoThemeSidebar 04 The skin used in the sidebar
$wgPlusoOptionsSidebar ["small","square","multiline","horizontal"] Indstillinger:
  1. The size of the panel (big, medium,small)
  2. Type of icons (square, round)
  3. Sorting (line, multiline)
  4. Position (horizontal, vertical)

All parameters are required

$wgPlusoOptionsHeader ["small","square","multiline","horizontal"] Indstillinger:
  1. Størrelsen på panelet (big, medium,small)
  2. Type of icons (square, round)
  3. Sorting (line, multiline)
  4. Position (horizontal, vertical)

All parameters are required

$wgPlusoThemeHeader 08 The skin used in the title
$wgPlusoBackgroundHeader transparent Background used in the sidebar (you can use color codes #FFF)
$wgPlusoBackgroundSidebar transparent Background used in the title (you can use color codes #FFF)

Basic service codes

The list of service codes that you can use parameters $wgPlusoServicesSidebar and $wgPlusoServicesHeader:

  • blogger
  • vkontakte
  • odnoklassniki
  • facebook
  • evernote
  • formspring
  • googlebookmark
  • moimir
  • instapaper
  • linkedin
  • liveinternet
  • livejournal
  • pinterest
  • stumbleupon
  • surfingbird
  • tumblr
  • myspace
  • vkrugu
  • bookmark
  • moemesto

Changes

  • Removed jquery, replaced by setIndicators
  • Added the ability to change options, such as the shape of an icon, etc.
  • Switching to local use, standalone from pluso.ru, the expansion has become self-contained (v.0.7)