扩展:Pluso
Appearance
Pluso 发行状态: 稳定版 |
|
---|---|
实现 | 皮肤 |
描述 | 於側邊欄及標題顯示社交按鈕。 |
作者 | Alexandr Efremov留言 |
最新版本 | 0.8 (2023-06-21) |
MediaWiki | 1.35+ |
许可协议 | GNU通用公眾授權條款2.0或更新版本 |
下載 | |
|
|
Pluso擴展於側邊欄及標題添加小工具。
安裝
- 下载文件,并将其放置在您
extensions/
文件夹中的Pluso
目录内。 - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'Pluso' );
- 按需求配置。
- Note: To enter your ID in LocalSettings.php is an optional configuration.
- 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
配置
参数 | 默认 | 描述 |
---|---|---|
$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"]
|
设置:
所有參數都是必需的。 |
$wgPlusoOptionsHeader
|
["small","square","line","horizontal","counter"]
|
设置:
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:
|
|
|
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)