Extension:Pluso/pl

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Pluso and the translation is 10% complete.

Other languages:
English • ‎dansk • ‎español • ‎polski • ‎русский • ‎中文 • ‎日本語
Podręcznik rozszerzeń MediaWiki
OOjs UI icon advanced.svg
Pluso
Status wydania: stabilne
PlusoSidebarTitle.png
Realizacja Skin
Opis Adds social buttons in the left menu and the page title.
Autor(zy) Alexandr Efremov
Ostatnia wersja 0.4 (2017-09-10)
MediaWiki 1.25+
Licencja GNU General Public License 2.0 or later
Pobieranie
Parametry

  • $wgPlusoUserID
  • $wgPlusoSidebar
  • $wgPlusoBackgroundSidebar
  • $wgPlusoOptionsSidebar
  • $wgPlusoThemeSidebar
  • $wgPlusoServicesSidebar
  • $wgPlusoHeader
  • $wgPlusoMain
  • $wgPlusoBackgroundHeader
  • $PlusoOptionsHeader
  • $wgPlusoThemeHeader
  • $wgPlusoServicesHeader
Użyte haki
SkinBuildSidebar
ArticleViewHeader
Przetłumacz rozszerzenie Pluso jeżeli jest dostępne na translatewiki.net
Sprawdź wykorzystywanie i matrycę wersji.

Pluso extension adds a widget Pluso in the sidebar and the page title, advertisement of pluso.ru browser plugins and external javascript from pluso.ru loaded into a document.

Install

  • Download i umieść plik(i) w katalogu o nazwie Pluso w swoim katalogu extensions/.
  • Dodaj poniższy kod na dole swojego pliku LocalSettings.php:
    wfLoadExtension( 'Pluso' );
    
    $wgPlusoHeader = false;
    

Enter your ID in LocalSettings.php , is an optional parameter:

$wgPlusoUserID = 'xxxxxxx';
  • Yes Zrobione – Przejdź do Special:Version na swojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Do użytkowników mających wersję MediaWiki 1.24 lub wcześniejszą:

Powyższe instrukcje opisują nowy sposób instalowania tego rozszerzenia, poprzez wfLoadExtension() Jeżeli chcesz zainstalować to rozszerzenie we wcześniejszych wersjach (MediaWiki 1.24 i wcześniejsze), zamiast wfLoadExtension( 'Pluso' ); użyj:

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

Konfiguracja

Default Configuration

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

Parametry konfiguracyjne

Parametr Default Opis
$wgPlusoUserID ID - not required, but is recommended for viewing statistics
$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, google, moimir Service codes used in the sidebar
$wgPlusoServicesHeader vkontakte, odnoklassniki, facebook, twitter, google, moimir Service codes used in the title
$wgPlusoThemeSidebar 04 The skin used in the sidebar
$wgPlusoOptionsSidebar ["small","square","multiline","horizontal","nocounter"] Settings:
  1. The size of the panel (big, medium,small)
  2. Type of icons (square, round)
  3. Sorting (line, multiline)
  4. Position (horizontal, vertical)
  5. Counter (counter, nocounter)

All parameters are required

$wgPlusoOptionsHeader ["small","square","multiline","horizontal","nocounter"] Settings:
  1. The size of the panel (big, medium,small)
  2. Type of icons (square, round)
  3. Sorting (line, multiline)
  4. Position (horizontal, vertical)
  5. Counter (counter, nocounter)

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
  • delicious
  • odnoklassniki
  • facebook
  • digg
  • evernote
  • formspring
  • google
  • googlebookmark
  • moimir
  • instapaper
  • email
  • juick
  • print
  • linkedin
  • liveinternet
  • livejournal
  • memori
  • pinme
  • pinterest
  • readability
  • springpad
  • stumbleupon
  • surfingbird
  • tumblr
  • webdiscover
  • yahoo
  • myspace
  • bobrdobr
  • vkrugu
  • bookmark
  • moikrug
  • moemesto
  • yandex
  • yazakladki
  • webmoney
  • misterwong
  • friendfeed

Changes

  • Removed jquery, replaced by setIndicators
  • Added the ability to change options, such as the shape of an icon, etc.