Extension:MetaMaster/de-formal

This page is a translated version of the page Extension:MetaMaster and the translation is 33% complete.
Other languages:
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
MetaMaster
Release status: stable
Implementation Parser function
Description A parser function that allows adding HTML ‎<meta> tags to the page header
Author(s) Ike Hecht (tosfosDiskussion)
Maintainer(s) WikiTeq team
Latest version 1.0.1 (Juli 2021)
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.35+
Database changes No
Composer metamaster/meta-master-extension
License GNU General Public License 2.0
Download
README
  • $wgMetaMasterEnableFoo
Translate the MetaMaster extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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.

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens MetaMaster im Ordner extensions/ ablegen.
  • Folgenden Code am Ende Ihrer LocalSettings.php hinzufügen:
    wfLoadExtension( 'MetaMaster' );
    
  •   Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Usage

{{#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.

Example

{{#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." />

Siehe auch

  This extension is professionally maintained by the WikiTeq team.