Extension:NoTitle/pl
![]() Status wydania: stabilneCategory:Stable extensions/pl |
|
---|---|
Realizacja | Rozszerzenie składniCategory: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 |
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.
{{DISPLAYTITLE:newtitle}}
works for any page.
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
NoTitle
w folderzeextensions/
.
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;
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Uwagi
- ↑ This extension will work for any skin that puts the title heading in an
<h1>
withclass="firstHeading"
, including the default Vector skin.
Zobacz też
- How to hide the Main Page title - Manual for hiding only the Main Page title.
![]() | To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
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