স্কিন:মিনের্ভা নিউ

This page is a translated version of the page Skin:Minerva Neue and the translation is 9% complete.
এই আবরণটি মিডিয়াউইকি 1.38 ও তার উপরের সংস্করণের সাথে আসে। তাই আপনাকে এটি আবার ডাউনলোড করতে হবে না। তবে, আপনাকে এখনও অন্যান্য প্রদত্ত নির্দেশাবলী অনুসরণ করতে হবে।
MediaWiki skins manual - শ্রেণি
OOjs UI icon layout-ltr.svg
Minerva Neue (Minerva)
মুক্তির অবস্থা: স্থিতিশীল
Screen Shot of MinervaNeue mediawiki skin in 2020.png
Compatibility policy Snapshots releases along with MediaWiki. Master is not backwards compatible.
মিডিয়াউইকি 1.30+
লাইসেন্স GNU General Public License 2.0 or later
ডাউনলোড
উদাহরণ এই উইকিতে উদাহরণ
যদি translatewiki.net এ পাওয়া যায় তাহলে Minerva Neue আবরণটি অনুবাদ করুন
ব্যবহার এবং সংস্করণ ম্যাট্রিক্স পরীক্ষা করুন;
Vagrant role minerva
সমস্যা : উন্মুক্ত কাজ · বাগ প্রতিবেদন
মিনের্ভা একটি প্রতিক্রিয়াশীল স্ক্রিন এবং এটি মোবাইল ডিভাইসের সাথে মানিয়ে নেবে।

Minerva is the skin that serves mobile traffic for Wikimedia projects across the world. Compared to other skins such as আবরণ:ভেক্টর , it provides a much simpler user interface and is much more aggressive about optimizing for performance so that it can cater for mobile users.

It is optimized for use with the MobileFrontend extension (which is done by setting wgDefaultMobileSkin to 'minerva'), but, since MediaWiki 1.35, Minerva Neue can also be used without MobileFrontend. For earlier MediaWiki versions, MobileFrontend is required.

ইনস্টল প্রক্রিয়া

  • যদি Vagrant ব্যবহার করেন, তবে vagrant roles enable minerva -p সহকারে ইনস্টল করুন

হাতদ্বারা ইনস্টলকরণ

  • Download and place the file(s) in a directory called MinervaNeue in your skins/ folder.
  • আপনার LocalSettings.php-এর নিচের অংশে নিম্নলিখিত কোড যোগ করুন:
wfLoadSkin( 'MinervaNeue' );
$wgDefaultSkin = 'minerva';
  •   করা হয়েছে - আবরণটি সফলভাবে ইনস্টল করা হয়েছে কিনা তা যাচাই করতে আপনার উইকির Special:Version-এ যান।

মিডিয়াউইকি ১.২৪ বা তার আগের সংস্করণ চালানো ব্যবহারকারীদের জন্য:

উপরের নির্দেশাবলীতে wfLoadSkin() ব্যবহার করে আবরণ ইনস্টল করার নতুন উপায় বর্ণনা করা হয়েছে (মিডিয়াউইকি সংস্করণ ১.২৫ থেকে)। আপনার যদি আগের সংস্করণগুলিতে এই আবরণ ইনস্টল করার প্রয়োজন হয়, তবে wfLoadSkin( 'MinervaNeue' );-এর পরিবর্তে, আপনাকে নিচের কোড ব্যবহার করতে হবে:

require_once "$IP/skins/MinervaNeue/MinervaNeue.php";

(পূর্ববর্তী মুক্তির একটি আবরণ ব্যবহার করতে, আপনাকে Special:SkinDistributor থেকে ঐ মুক্তির জন্য ট্যাগ করা সংস্করণ ডাউনলোড করতে হতে পারে।)

  • Note: Setting $wgDefaultSkin = 'minerva' will make Minerva your default skin even in desktop view.

Ignore this line and instead use $wgMFDefaultSkinClass = 'SkinMinerva'; if you want only MobileFrontend to use the Minerva skin.

 
Minerva in preferences

Make sure to call wfLoadSkin after wfLoadExtension.

MobileFrontend integration

With MobileFrontend integrated (mobile mode) the Minerva experience will be enhanced to include various other features including:

  • Red link edit confirmation
  • Reference pop-up drawer
  • An enhanced search
  • Better integration on mobile with many popular Wikipedia-style templates.

To benefit from these:

Make mobile Minerva behave like desktop Minerva

When MobileFrontend is installed, Minerva is modified to behave in a simplified mode. If you would like Minerva to behave more like the desktop version add the following code to LocalSettings.php:

$wgMinervaTalkAtTop['base'] = true;
$wgMinervaAdvancedMainMenu['base'] = true;
$wgMinervaPersonalMenu['base'] = true;
$wgMinervaHistoryInPageActions['base'] = true;
$wgMinervaOverflowInPageActions['base'] = true;
$wgMinervaShowCategories['base'] = true;

কনফিগারেশন

Configuration is listed in the Minerva readme in your local download or online.

Recently deprecated configuration

  • $wgMinervaCountErrors - previously used to count errors via statsd. In the unlikely event you were using it as a 3rd party please refer to Extension:WikimediaEvents for client side error logging.

Configuration of menus

Certain URLs in the main menu can be tweaked. These include:

Certain menu items will be enabled automatically when the relevant extension is added.

Desktop vs mobile modes


MobileFrontend provides additional capabilities that are not available in MediaWiki core. You can compare desktop vs mobile mode.

When operating in mobile mode the following features are available:

  • Core workflows such as editing and talk will trigger JavaScript based workflows. This is provided by Extension:MobileFrontend . See more for details.
  • Sections can be collapsed and expanded.

Expanded sections are memorized in the browser's local storage.

  • The menu contains different options depending on the current mode, e.g. Special:Preferences is available on desktop
  • MediaWiki:Mobile.css (for mobile mode) or MediaWiki:Common.css (for desktop mode) will be loaded

The desktop mode of the site is experimental. Bug reports and patches are appreciated.

When operating in desktop mode there are various issues that we are working towards fixing. Your patches and help are welcomed.

Questions and answers

If you have a question not answered by the page – please feel free to use the talk page to raise them.

What do I get when I install MobileFrontend?

Minerva works without MobileFrontend but installing MobileFrontend will provide several enhancements – notably reference and red link pop-up drawers, and a mobile optimized search and custom editor. These optimizations will apply to the desktop and mobile version. Currently it is not possible to disable the mobile view link but patches to that effect will gladly be accepted!

I maintain an extension, how can I integrate with Minerva?

How should I target styles to Minerva?

If the extension includes any UI, when testing your extension with Minerva, it's important to check if your extension works or degrades acceptably on break points. For testing purposes, Minerva operates on several breakpoints: 320px (@width-breakpoint-mobile), 720px (@width-breakpoint-tablet) and 1000px (@width-breakpoint-desktop). Your extension is expected to adapt to these breakpoints using appropriate media queries. It is acceptable for a feature to disable altogether, provided it gives the user feedback where necessary e.g.

@import 'mediawiki.skin.default.less';

@media screen and ( max-width: @width-breakpoint-tablet ) {
.myfeature { display: none; } /* not supported for mobile users */
.myfeature ~ .mobilewarning { display: block; } /* Show the warning message explaining why the feature was disabled. */
}

Normally it's acceptable to use media queries for your extension and this will benefit all skins, however in some cases you may need Minerva specific behaviour. If so you can use Manual:$wgResourceModuleSkinStyles to define styles.

How can I add items to Minerva menus ?

The Minerva menu system is currently bespoke and does not work like other skins. We plan to fix this eventually so that Minerva makes use of the standard hook for modifying menus - Manual:Hooks/SkinTemplateNavigation::Universal. The work here is tracked in phab:T291568. If you would like to add menu items in the mean time, please use the MobileMenu hook.