Extension:NoTitle/pl

From mediawiki.org
This page is a translated version of the page Extension:NoTitle and the translation is 27% complete.
Podręcznik rozszerzeń MediaWiki
NoTitle
Status wydania: stabilne
Realizacja Rozszerzona składnia
Opis Adds a magic word that lets you hide the main title heading
Autor(zy)
Ostatnia wersja 0.4.0 (2018-07-16)
MediaWiki 1.29+
PHP 5.5+
Zmiany w bazie danych Nie
Licencja GNU General Public License 3.0 or later
Pobieranie
Przykład sandbox.semantic-mediawiki.org
Quarterly downloads 92 (Ranked 67th)
Przetłumacz rozszerzenie NoTitle jeżeli jest dostępne na translatewiki.net

The NoTitle extension adds a magic word, __NOTITLE__, that lets you hide the main title heading on any page.

Użycie

Add __NOTITLE__ behaviour switch on any pages where you want to hide the title.

[1]

{{DISPLAYTITLE:newtitle}} works for any page.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie NoTitle 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/NoTitle
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'NoTitle' );
    $wgRestrictDisplayTitle = false;
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Notes

  1. This extension will work for any skin that puts the title heading in an ‎<h1> with class="firstHeading", including the default Vector skin.

Zobacz też