Extension:MetaMaster/pl

This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
Category:Extensions by WikiTeq/pl Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
MetaMaster
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Funkcja parsera Category:Parser function extensions/pl
Opis A parser function that allows adding HTML <meta> tags to the page header
Autor(zy) Ike Hecht (tosfosdyskusja)
Opiekun(owie) WikiTeq team
Ostatnia wersja 1.0.1 (lipiec 2021)
Polityka zgodności Dla każdego wydania MediaWiki, które jest wydaniem wsparcia długoterminowego, istnieje odpowiednia gałąź w rozszerzeniu.
MediaWiki 1.35, 1.39Category:Extensions with manual MediaWiki version
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0
Pobieranie Category:Extensions in Wikimedia version control/pl
README
  • $wgMetaMasterEnableFoo
Quarterly downloads 3 (Ranked 95th)
Przetłumacz rozszerzenie MetaMaster jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl

The MetaMaster extension is a simple extension that allows adding HTML <meta> tags using a parser function. It supports any text as the name and description.

This extension was created for WikiWorks.


Instalacja

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

Użycie

{{#metamaster:name|content}}

Where name represents the name attribute of the <meta> tag and content represents the content attribute. There can be multiple tags per page.

Przykład

{{#metamaster:date|2002-04-04}}

This results in the following tag being added to the HTML head section:

<meta name="date" content="2002-04-04" />

The extension can also be used to add the ever-desired meta description tag, such as in this example:

{{#metamaster:description|This is some text description.}}

Which results in:

<meta name="description" content="This is some text description." />

Zobacz też

Category:HTML head extensions/pl Category:Search engine optimization extensions/pl
Category:All extensions/pl Category:Extensions by WikiTeq/pl Category:Extensions in Wikimedia version control/pl Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/pl Category:HTML head extensions/pl Category:OutputPageParserOutput extensions/pl Category:ParserFirstCallInit extensions/pl Category:Parser function extensions/pl Category:Search engine optimization extensions/pl Category:Stable extensions/pl