Extension:NoTitle/pl

Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
NoTitle
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Rozszerzenie składni Category:Extended syntax extensions/pl
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 - 1.43Category:Extensions with manual MediaWiki version/pl
PHP 5.5+
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 3.0 lub nowsza
Pobieranie Category:Extensions in Wikimedia version control/pl
Przykład sandbox.semantic-mediawiki.org
Przetłumacz rozszerzenie NoTitle jeżeli jest dostępne na translatewiki.net
Category:All extensions/pl

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

Użycie

Add __NOTITLE__ behavior 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.

Uwagi

  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ż

Category:HTML head extensions/pl
Category:All extensions/pl Category:Extended syntax extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in Miraheze/pl Category:Extensions included in MyWikis/pl Category:Extensions included in WikiForge/pl Category:Extensions included in wiki.gg/pl Category:Extensions with manual MediaWiki version/pl Category:GPL licensed extensions/pl Category:GetDoubleUnderscoreIDs extensions/pl Category:HTML head extensions/pl Category:OutputPageParserOutput extensions/pl Category:Stable extensions/pl