Jump to content

扩展:Pluso

From mediawiki.org
This page is a translated version of the page Extension:Pluso and the translation is 46% complete.
MediaWiki扩展手册
Pluso
发行状态: 稳定版
实现 皮肤
描述 於側邊欄及標題顯示社交按鈕。
作者 Alexandr Efremov留言
最新版本 0.8 (2023-06-21)
MediaWiki 1.35+
许可协议 GNU通用公眾授權條款2.0或更新版本
下載

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

Pluso擴展於側邊欄及標題添加小工具。

安裝

Note: To enter your ID in LocalSettings.php is an optional configuration.
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

配置

該小工具於條目標題截圖
該小工具於側邊欄截圖
Codes with skins
参数 默认 描述
$wgPlusoSidebar true 啟用或關閉側邊欄位顯示小工具。
$wgPlusoHeader true 啟用或關閉標題顯示小工具。
$wgPlusoMain false 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","nocounter"] 设置:
  1. The size of the panel (big, medium,small)
  2. Type of icons (square, round)
  3. Sorting (line, multiline)
  4. Position (horizontal, vertical)

所有參數都是必需的。

$wgPlusoOptionsHeader ["small","square","line","horizontal","counter"] 设置:
  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

$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)