Extension:Header Footer/de
From Linux Web Expert
File:MediaWiki Stakeholders' Group Logo.svg <translate> This extension is maintained by a member of the <tvar name=1>MediaWiki Stakeholder-Gruppe </tvar>.</translate>
HeaderFooter Freigabestatus: stabil |
|
---|---|
Beschreibung | Allows content to be included at the top and bottom of the wiki's page content section |
Autor(en) | Jean-Lou Dupont, James Montalvo, Douglas Mason, Hallo Welt! GmbH |
Letzte Version | 4.0 |
Kompatibilitätspolitik | Für jede MediaWiki-Version, die ein Long Term Support Release ist, existiert ein entsprechender Zweig in der Erweiterung. |
MediaWiki | 1.39+ |
Datenbankänderungen | Nein |
Composer | mediawiki/header-footer |
Lizenz | GNU General Public License 2.0 oder später |
Herunterladen | |
|
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Übersetze die Header Footer-Erweiterung, wenn sie auf translatewiki.net verfügbar ist |
Die Header Footer-Erweiterung ermöglicht die Einbindung eines Kopf- oder Fußbereichs. Diese Einbindung ist pro Seite oder pro Namensraum möglich.
Funktionen
- Speed - integriert mit Parser-Caching
- Secure - header and footer articles are located in the NS_MEDIAWIKI namespace
- Controllable - headers and/or footers can be disabled on pages which are edit protected
- Customizable - headers and footers are wrapped in
<div>
elements
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/HeaderFooter</tvar>|Download]] and move the extracted <tvar name=name>
HeaderFooter
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/HeaderFooter - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'HeaderFooter' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Verwendung
Edit the pages:
MediaWiki:Hf-nsheader-namespace name
MediaWiki:Hf-nsfooter-namespace name
namespace name
must be in the language of the wiki (see Manual:$wgLanguageCode)
For the 'main' namespace, just use blank i.e. no string, but with the hyphen:
MediaWiki:Hf-nsheader-
MediaWiki:Hf-nsfooter-
Edit the pages:
MediaWiki:Hf-header-page name
MediaWiki:Hf-footer-page name
Befehle zur Deaktivierung
On edit protected pages, one can add
__NOHEADER__
to suppress the page level header__NOFOOTER__
to suppress the page level footer__NONSHEADER__
to suppress the namespace level header__NONSFOOTER__
to suppress the namespace level footer
CSS
- Page Level Header: <div class="hf-header">
- Namespace Level Header: <div class="hf-nsheader">
- Page Level Footer: <div class="hf-footer">
- Namespace Level Footer: <div class="hf-nsfooter">
Beispiele
- Page MediaWiki:hf-nsheader-Extension would contain the wikitext to be included as header for all pages of the Extension namespace.
- In this case, to suppress the header of the page Extension:HeaderFooter one should a) edit protect it, and b) add
__NONSHEADER__
in it.
- In this case, to suppress the header of the page Extension:HeaderFooter one should a) edit protect it, and b) add
- Page MediaWiki:hf-footer-Extension:HeaderFooter would contain the wikitext to be included as footer for the page Extension:HeaderFooter.
- In this case, to suppress the footer of the page Extension:HeaderFooter one should a) edit protect it, and b) add
__NOFOOTER__
in it.
- In this case, to suppress the footer of the page Extension:HeaderFooter one should a) edit protect it, and b) add
Siehe auch
- PageNotice extension – provides a way for you to define fixed notice messages for the top or the bottom of a page (by individual page name), or entire namespaces (by namespace number).
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- MediaWiki Stakeholders' Group/de
- Stable extensions/de
- Extensions with invalid or missing type/de
- Extensions with manual MediaWiki version
- Extensions supporting Composer/de
- GPL licensed extensions/de
- Extensions in Wikimedia version control/de
- OutputPageParserOutput extensions/de
- ResourceLoaderGetConfigVars extensions/de
- All extensions/de
- Extensions not in ExtensionJson
- View page extensions/de
- Headers and footers extensions/de