Jump to content

Extension:Share/pl

From mediawiki.org
This page is a translated version of the page Extension:Share and the translation is 8% complete.
Podręcznik rozszerzeń MediaWiki
Share
Status wydania: stabilne
px
Realizacja Skórka
Opis Add links/buttons to the sidebar to allow users to share a wiki's articles on social media and via email.
Autor(zy) Agent Isai, Alex (Agent Isaidyskusja)
Ostatnia wersja 2.0
MediaWiki >= 1.38.0
Licencja Licencja GNU General Public License 3.0 lub nowsza
Pobieranie
README.md
  • $wgSharePinterest
  • $wgShareLinkedIn
  • $wgShareEmail
  • $wgShareUseButtons
  • $wgShareFacebook
  • $wgShareTumblr
  • $wgShareTelegram
  • $wgShareWhatsApp
  • $wgShareWeibo
  • $wgShareReddit
  • $wgShareVK
  • $wgShareTwitter
  • viewsharelinks
Quarterly downloads 11 (Ranked 119th)
Przetłumacz rozszerzenie Share jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The Share extension adds a sidebar portlet which features links/buttons that allow users to share your articles on various platforms with ease.

Share supports 11 different platforms and different looks for the sidebar portlet. Pictured in the infobox is Share in its 'buttons mode'.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie Share w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Share
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'Share' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

Share allows wiki administrators to configure the look of their sidebar share links/buttons and select what platforms you do or do not want to show up on your sidebar.

By default, only Facebook and Twitter share links are enabled. All other platforms must be enabled manually. The default mode enabled is 'plain links mode' where links in the share portlet are displayed as normal links rather than buttons.

parameter default comment
$wgShareEmail false Enable 'Share via email' link in the sidebar?
$wgShareFacebook true Enable 'Share via Facebook' link in the sidebar?
$wgShareLinkedIn false Enable 'Share via LinkedIn' link in the sidebar?
$wgSharePintrest false Enable 'Share via Pinterest' link in the sidebar?
$wgShareReddit false Enable 'Share via Reddit' link in the sidebar?
$wgShareTelegram false Enable 'Share via Telegram' link in the sidebar?
$wgShareTumblr false Enable 'Share via Tumblr' link in the sidebar?
$wgShareTwitter true Enable 'Share via Twitter' link in the sidebar?
$wgShareVK false Enable 'Share via VK' link in the sidebar?
$wgShareWeibo false Enable 'Share via Weibo' link in the sidebar?
$wgShareWhatsApp false Enable 'Share via WhatsApp' link in the sidebar?
$wgShareUseButtons false Use sidebar buttons instead of sidebar links? (see screenshot)

Modes

Share allows wiki administrators to configure the look of their sidebar share links/buttons and select what platforms you do or do not want to show up on your sidebar.

Share has two modes:

  1. Plain links mode (Default) - Sidebar share links appear as plain sidebar links, no different from sidebar links such as the ones going to the main page or to the recent changes page.
  2. Buttons mode ($wgShareUseButtons, pictured in infobox) - Sidebar share links appear as buttons users can click instead of average plain links, as pictured in the infobox.

Platform support

Currently, Share supports 11 platforms. More platforms may be requested:

  • Email
  • Facebook
  • LinkedIn
  • Pinterest
  • Reddit
  • Telegram
  • Tumblr
  • Twitter
  • VK
  • Weibo
  • WhatsApp