Extension:ForcePreview/pl

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Podręcznik rozszerzeń MediaWiki
ForcePreview
Status wydania: stabilne
Realizacja Uprawnienia użytkownika
Opis Forces unprivileged users to preview before saving
Autor(zy) Ryan Schmidt (Skizzerztalk)
Ostatnia wersja 2.0.0 (2017-09-20)
MediaWiki 1.29+
Zmiany w bazie danych Nie
Licencja Nie określono
Pobieranie
README
Przykład strategywiki.org
forcepreviewexempt
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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 "Show preview" (or "Live Preview", if enabled) button before being allowed to save the page.

Instalacja

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/ForcePreview/pl</tvar>|Download]] and move the extracted <tvar name=name>ForcePreview/pl</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ForcePreview%2Fpl
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'ForcePreview/pl' );
    // Does not force preview for registered users
    $wgGroupPermissions['user']['forcepreviewexempt'] = true;
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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