Skin:Vector/2022

This page is a translated version of the page Skin:Vector/2022 and the translation is 100% complete.
यह स्किन मीडियाविकि 1.38 और अधिक के साथ उपलब्ध होता है। यानी कि आपको इसे दोबारा डाउनलोड करने की ज़रूरत नहीं। हालाँकि, आपको दूसरी विधियों का पालन करना होगा।
मीडियाविकि स्किन मैन्युअल - श्रेणी
Vector 2022
प्रकाशन की स्थिति: स्थिर
संगतता नीति मीडियाविकि के साथ प्रकाशित स्नैपशॉट। Master में पीछे की तरफ से संगतता नहीं है।
Composer mediawiki/vector-skin
लाइसेंस GNU साधारण सार्वजनिक लाइसेंस 2.0 या उसके बाद
डाउनलोड करें
उदाहरण https://en.wikipedia.org/
https://vi.wikipedia.org/
https://test.wikipedia.org/
पैरामीटर
त्रैमासिक डाउनलोड्स 887 (Ranked 1st)
इस्तेमाल कर रहे सार्वजनिक विकियाँ 14,010 (Ranked 2nd)
डिफ़ॉल्ट स्किन के रूप में इस्तेमाल कर रहे सार्वजनिक विकियाँ 5,943
Vector/2022 स्किन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है
आवारा भूमिका vector
मुद्दे : अधूरे कार्य · बग की रिपोर्ट करें

Vector 2022 मीडियाविकि के Vector स्किन का दूसरा विकास है, और इसे डेस्कटॉप सुधार परियोजना के हिस्से के रूप में विकसित किया जा रहा है। इसे मीडियाविकि 1.38 से मीडियाविकि के साथ बंडल किया जा रहा है। यह विभिन्न विकिमीडिया परियोजनाओं के लिए डिफ़ॉल्ट स्किन है।

Vector 2022 differs from most skins in that it does not have its own code base; rather, its code is part of the Vector skin's, and the two are downloaded together.

स्थापना

  • फाइलों को डाउनलोड करें और अपने skins/ फोल्डर के Vector नामक डिरेक्ट्री में डालें।
  • अपने LocalSettings.php के अंत में यह कोड जोड़ें:
wfLoadSkin( 'Vector' );
  •   पूर्ण - अपने विकि पर Special:Version पर जाकर देखें कि स्किन को सफलतापूर्वक स्थापित किया गया है कि नहीं।

Optional dependencies

Vector 2022 can make use of the following extensions if they are installed, though none are required:

  • UniversalLanguageSelector - for the language switch button
  • PageImages - to include an image for each page (if available) in the search bar
  • ShortDescription - to include a description for each page (retrieved from a Wikibase installation) in the search bar (Wikimedia projects have similar functionality, but not using this extension)

Making Vector 2022 the default skin

For MediaWiki versions 1.38 and higher, add the following to LocalSettings.php to make Vector 2022 the default skin:

$wgDefaultSkin = 'vector-2022';

For versions 1.36 and 1.37, you should instead add the following:

$wgVectorResponsive = true;
$wgVectorDefaultSkinVersion = '2';

1.38 प्रकाशन के बारे में टिप्पणी

1.38 प्रकाशन ने स्किन के लिए आधिकारिक तृतीय-पक्ष समर्थन चिह्नित किया, मगर 1.36 और 1.38 के बीच स्किन तृतीय-पक्ष के अपने फैसले पर उपलब्ध था

अगर कोई साइट 1.36 या 1.37 पर नए Vector का इस्तेमाल कर रही है, 1.38 प्रकाशन में अपग्रेड करते समय उन्हें समस्याएँ आ सकती हैं। इससे बचा नहीं जा सकता, और यह एक वजह है जिससे 1.38 से पहले इस स्किन के उपयोग को हतोत्साहित किया जाता था।

अगर साइट ने सदस्यों को नए अनुभव को देखने का विकल्प दिया था, इन सदस्यों को अपग्रेड के बाद विरासती Vector दिखाया जाएगा, और Vector 2022 में अपने स्किन की वरीयता को बदलने के लिए उन्हें दोबारा Special:Preferences पर जाना होगा।

बड़े विकियों के लिए, जहाँ स्किन में बदलाव लॉग-इन किए हुए सदस्यों के लिए रुकावट बन सकता है, आपको एक अनुरक्षण स्क्रिप्ट लिख लेना चाहिए जिससे मौजूदा डेटाबेस वरीयताओं को अपग्रेड किया जा सके। अधिक विवरण के लिए T299104 और Extension:WikimediaMaintenance देखें।

Configuration parameters

Note that Vector has several unstable feature flags, which may disappear at any time. Most of these feature flags relate to incomplete features. We do not recommend changing any feature flag from its default value unless listed here.

$wgVectorMaxWidthOptions

Can be used to configure whether the max-width applies. Relatively stable at this point.

$wgVectorLanguageInMainPageHeader

Controls whether the language button shows on the main page in the header.

$wgVectorWvuiSearchOptions

Associative array with keys showDescription and showThumbnail (both booleans).

See also