Extension:NoTitle/da
Appearance
Release status: stabil |
|
|---|---|
| Implementation | Extended syntax |
| Beskrivelse | Adds a magic word that lets you hide the main title heading |
| Forfatter(e) | |
| Latest version | 0.4.0 (2018-07-16) |
| MediaWiki | 1.29 - 1.43 |
| PHP | 5.5+ |
| Database changes | Nej |
| Licens | GNU General Public License 3.0 or later |
| Download | |
| Eksempel | sandbox.semantic-mediawiki.org |
| 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__ behavior switch on any pages where you want to hide the title.
{{DISPLAYTITLE:newtitle}} works for any page.Installation
- Download and move the extracted
NoTitlefolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NoTitle
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'NoTitle' ); $wgRestrictDisplayTitle = false;
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Bemærkninger
- ↑ This extension will work for any skin that puts the title heading in an
<h1>withclass="firstHeading", including the default Vector skin.
Se også
- 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: |
Categories:
- Stable extensions/da
- Extended syntax extensions/da
- GetDoubleUnderscoreIDs extensions/da
- OutputPageParserOutput extensions/da
- GPL licensed extensions/da
- Extensions in Wikimedia version control/da
- All extensions/da
- Extensions included in Miraheze/da
- Extensions included in MyWikis/da
- Extensions included in wiki.gg/da
- HTML head extensions/da
