Extension:NoTitle/de-formal
![]() Release status: stable |
|
---|---|
Implementation | Extended syntax |
Description | Adds a magic word that lets you hide the main title heading |
Author(s) | |
Latest version | 0.4.0 (2018-07-16) |
MediaWiki | 1.29+ |
PHP | 5.5+ |
Database changes | No |
License | GNU General Public License 3.0 or later |
Download | |
Example | sandbox.semantic-mediawiki.org |
Quarterly downloads | 79 (Ranked 92nd) |
Translate the NoTitle extension if it is available at translatewiki.net | |
The NoTitle extension adds a magic word, __NOTITLE__
, that lets you hide the main title heading on any page.
Usage
Add __NOTITLE__
behaviour switch on any pages where you want to hide the title.
{{DISPLAYTITLE:newtitle}}
works for any page.Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
NoTitle
im Ordnerextensions/
ablegen.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NoTitle - Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen:
wfLoadExtension( 'NoTitle' ); $wgRestrictDisplayTitle = false;
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Für Benutzer, die MediaWiki in der Version 1.30 und früher betreiben:
Die oben stehenden Anweisungen beschreiben die neue Installationsanweisung für diese Erweiterung unter der Verwendung von wfLoadExtension()
.
Wird diese Erweiterung in einer dieser früheren Versionen (MediaWiki 1.30 und früher) – an Stelle von wfLoadExtension( 'NoTitle' );
– installiert, benutzen Sie:
require_once "$IP/extensions/NoTitle/NoTitle.php";
Notes
- ↑ This extension will work for any skin that puts the title heading in an
<h1>
withclass="firstHeading"
, including the default Vector skin.
Siehe auch
- How to hide the Main Page title - Manual for hiding only the Main Page title.
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |