Extension:ForcePreview/pl
Appearance
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 |
|
forcepreviewexempt |
|
| Licencja | Licencja MIT |
| Pobieranie | README |
| Przykład | strategywiki.org |
| 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
ForcePrevieww folderzeextensions/.
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).
| To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: |
Categories:
- Stable extensions/pl
- User rights extensions/pl
- Extensions which add rights/pl
- EditPageBeforeEditButtons extensions/pl
- BeforePageDisplay extensions/pl
- ResourceLoaderGetConfigVars extensions/pl
- MIT licensed extensions/pl
- Extensions in Wikimedia version control/pl
- All extensions/pl
- Extensions included in Miraheze/pl
