Skin:Minerva Neue
Minerva Neue (Minerva) Release status: stable |
|
---|---|
![]() |
|
MediaWiki | 1.30+ |
License | GNU General Public License 2.0 or later |
Download | |
Example | Example on this wiki |
Translate the Minerva Neue skin if it is available at translatewiki.net | |
Check usage and version matrix; | |
Issues : | Open tasks · Report a bug |
Minerva là một skin đang phục vụ cho việc truy cập các dự án của Wikimedia trên thiết bị di động toàn thế giới. Compared to other skins such as Giao diện:Vector , it provides a much more simplistic user interface and is much more aggressive about optimizing for performance so that it can cater for mobile users.
Nó được tối ưu hóa để sử dụng với MobileFrontend là wgDefaultMobileSkin
nhưng tại thời điểm viết bài (bản chính hiện tại và bản phát hành 1.35), đây là phần phụ thuộc mềm và nó sẽ hoạt động mà không cần cài đặt phần mở rộng.
If using the 1.34 release or earlier it is a hard dependency.
Cách cài đặt
- Tải và đặt (các) tệp trong một thư mục với tên
MinervaNeue
trong thư mụcskins/
của bạn. - Thêm mã sau vào dưới cùng tệp LocalSettings.php của bạn:
wfLoadSkin( 'MinervaNeue' );
$wgDefaultSkin = 'minerva';
- Xong - Chuyển tới Special:Version trên wiki của bạn để xác nhận skin được cài đặt thành công.
Dành cho những người đang dùng MediaWiki 1.24 trở xuống:
Những chỉ dẫn bên trên diễn tả cách mới để cài skin sử dụng wfLoadSkin()
, từ phiên bản MediaWiki 1.25. Nếu bạn muốn cài đặt skin trong những phiên bản cũ hơn, thay vì wfLoadSkin( 'MinervaNeue' );
, bạn cần dùng:
require_once "$IP/skins/MinervaNeue/MinervaNeue.php";
(Để chạy một skin trong phiên bản cũ hơn, bạn có thể phải tải phiên bản của nó gắn với phiên bản tương ứng từ 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.
Make sure to call wfLoadSkin
after wfLoadExtension
.
MobileFrontend integration
With MobileFrontend integrated 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:
- Tải và cài đặt phần mở rộng MobileFrontend .
Configuration
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.
Certain URLs in the main menu can be tweaked. These include:
- Random (via editing MediaWiki:Randompage-url)
- Portal URL (of Advanced editing mode via MediaWiki:Portal-url)
Certain menu items will be enabled automatically when the relevant extension is added.
- Nearby (provided by Extension:MobileFrontend ).
So sánh chế độ máy tính và chế độ điện thoại
MobileFrontend cung cấp thêm những khả năng không có trong lõi MediaWiki. Bạn có thể so sánh chế độ máy tính với chế độ điện thoại.
Khi hoạt động trong chế độ điện thoại, sẽ có các chức năng sau:
- Các quy trình làm việc cốt lõi như chỉnh sửa và nói chuyện sẽ kích hoạt các quy trình làm việc dựa trên JavaScript. Điều này được cung cấp bởi 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 skin will link to pages optimized for mobile provided by MobileFrontend if enabled. See Extension:MobileFrontend for more information. e.g. Special:Watchlist (compare desktop vs mobile)
- In mobile view, navigation bars and side bars are hidden by default, as described in their documentation.
The desktop mode of the site is experimental. Bug reports and patches are appreciated.
Khi hoạt động trên chế độ máy tính, có vài vấn đề mà chúng tôi đang cố sửa chữa. Bạn có thể thoái mái giúp đỡ hoặc sửa chữa những vấn đề này nếu có thể.
Câu hỏi và trả lời
Nếu bạn có một câu hỏi chưa được trả lời trên trang, hãy thoải mái sử dụng trang trò chuyện để yêu cầu.
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!
This skin is being used on one or more Wikimedia projects. This probably means that the skin is stable and works well enough to be used by such high-traffic websites. Look for this skin's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the skins installed on a particular wiki can be seen on the wiki's Special:Version page. |