Extension:NoTitle/hi

From Linux Web Expert


मीडियाविकि एक्सटेंशन मैन्युअल
NoTitle
प्रकाशन की स्थिति: स्थिर
कार्यान्वयन पूरा सिनटैक्स
विवरण Adds a magic word that lets you hide the main title heading
लेखक
नवीनतम संस्करण 0.4.0 (2018-07-16)
MediaWiki 1.29+
PHP 5.5+
डेटाबेस बदलता है नहीं
लाइसेंस कोई लाइसेंस नहीं दिया गया है
डाउनलोड करें
उदाहरण sandbox.semantic-mediawiki.org
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').
NoTitle एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है

The NoTitle extension adds a magic word, __NOTITLE__, that lets you hide the main title heading on any page.

उपयोग

Add __NOTITLE__ behaviour switch on any pages where you want to hide the title.

[1]

{{DISPLAYTITLE:newtitle}} works for any page.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/NoTitle/hi</tvar>|Download]] and move the extracted <tvar name=name>NoTitle/hi</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/NoTitle%2Fhi
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'NoTitle/hi' );
    $wgRestrictDisplayTitle = false;
    
  • 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>

नोट्स

  1. This extension will work for any skin that puts the title heading in an ‎<h1> with class="firstHeading", including the default Vector skin.

See also