Extension:ForcePreview/pl

This page is a translated version of the page Extension:ForcePreview and the translation is 33% complete.
Podręcznik rozszerzeń MediaWiki
ForcePreview
Status wydania: stabilne
Realizacja Uprawnienia użytkownika
Opis Forces unprivileged users to preview before saving
Autor(zy) Ryan Schmidt (Skizzerzdyskusja)
Ostatnia wersja 2.0.0 (2017-09-20)
MediaWiki 1.29+
Zmiany w bazie danych Nie
Licencja Licencja MIT
Pobieranie
README
Przykład strategywiki.org
forcepreviewexempt
Quarterly downloads 10 (Ranked 139th)
Przetłumacz rozszerzenie ForcePreview jeżeli jest dostępne na translatewiki.net

The ForcePreview forces unprivileged users to preview before saving.

Użycie

Users without the forcepreviewexempt right will be forced to use the "Pokaż podgląd" (or "Live Preview", if enabled) button before being allowed to save the page.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie ForcePreview 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/ForcePreview
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'ForcePreview' );
    // Does not force preview for registered users
    $wgGroupPermissions['user']['forcepreviewexempt'] = true;
    
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Zobacz też

  • Manual:Force preview - JavaScript that performs the same function, albeit easier to work around (users can simply disable JavaScript on their browser to get around the restriction).