Extension:ShortUrl/hi

From mediawiki.org
This page is a translated version of the page Extension:ShortUrl and the translation is 23% complete.
Not to be confused with Extension:UrlShortener or Manual:Short URL.
मीडियाविकि एक्सटेंशन मैन्युअल
ShortUrl
प्रकाशन की स्थिति: स्थिर
कार्यान्वयन विशेष पृष्ठ
विवरण Adds a special page that redirects to an article based on the given base36-encoded ID
लेखक Yuvi Panda
नवीनतम संस्करण 1.2.0 (2015-01-29)
MediaWiki 1.25+
डेटाबेस बदलता है हाँ
टेबल shorturls
लाइसेंस BSD-3 क्लॉज़ "बदलाव-सहित" लाइसेंस
डाउनलोड करें
  • $wgShortUrlTemplate
  • $wgShortUrlReadOnly
Quarterly downloads 25 (Ranked 124th)
ShortUrl एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है
मुद्दे अधूरे कार्य · बग की रिपोर्ट करें

ShortUrl is a special page extension that helps create shortened URLs for wiki pages, using their base36 encoded IDs. Adds a 'Short URL' link to the Toolbox. Primarily developed for use in the Indic Language Wikipedias.

स्थापना

  • फ़ाइलों को डाउनलोड करें और अपने extensions/ फ़ोल्डर के ShortUrl नामक डिरेक्ट्री में डालें।
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ShortUrl
  • अपने LocalSettings.php फ़ाइल के अंत में निम्न कोड जोड़ें:
    wfLoadExtension( 'ShortUrl' );
    
  • अपडेट स्क्रिप्ट चलाएँ जो स्वचालित रूप से आवश्यक डेटाबेस टेबल्स का निर्माण करेगा जिसकी इस एक्सटेंशन को आवश्यकता है।
  • Yes पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।

उपयोग

  1. When installed redirects are available under Special:ShortUrl/<base36>.
  1. Links to redirects can be found in the Toolbox and under the heading (JavaScript only)

Configuration

  1. (Optional) Run populateShortUrlTable.php maintenance script. Fills the shorturl database table with entries for all namespace/title parts of all currently existing articles.
  1. Set $wgShortUrlTemplate to the template of the path for generating short URLs. $1 is replaced with the actual short URL ID.

इन्हें भी देखें