Jump to content

Skin:Minerva Neue/nl

From mediawiki.org
This page is a translated version of the page Skin:Minerva Neue and the translation is 27% complete.
Deze skin wordt meegeleverd met MediaWiki 1.38 en nieuwer. Het is dus niet nodig om deze opnieuw te downloaden. De andere instructies hier beneden moeten nog wel gevolgd worden.
Handleiding MediaWiki skins - categorie
Minerva Neue (Minerva)
Release status: stabiel
Compatibiliteit beleid Snapshots releases samen met MediaWiki. Master is niet achterwaarts compatibel.
Licentie GNU General Public Licentie 2.0 of hoger
Download
Voorbeeld Voorbeeld op deze wiki
Vertaal de Minerva Neue skin indien beschikbaar op translatewiki.net
Vagrant rol minerva
Problemen : Open taken · Rapporteer een bug
Minerva is een responsief scherm en zal zich aanpassen aan mobiele apparaten.

Minerva is de skin voor het mobiele verkeer voor Wikimedia-projecten op de hele wereld. Vergeleken met andere skins zoals Vector/nl , biedt het een veel eenvoudigere gebruikersinterface en is het veel agressiever in het optimaliseren voor prestaties, zodat het kan voorzien voor mobiele gebruikers.

Het is geoptimaliseerd voor gebruik met de extensie MobileFrontend (die wordt gedaan door wgMFDefaultSkinClass in te stellen op 'SkinMinerva'), maar sinds MediaWiki 1.35, kan Minerva Neue ook worden gebruikt zonder MobileFrontend. Voor oudere mediawiki-versies is MobileFrontend vereist.

Installatie

  • Wanneer Vagrant gebruikt wordt, installeer door middel van vagrant roles enable minerva -p

Handmatige installatie

  • Download en plaats de bestanden in de map MinervaNeue in de map skins/.
  • Voeg de volgende code onderaan aan je bestand LocalSettings.php toe:
    wfLoadSkin( 'MinervaNeue' );
    $wgDefaultSkin = 'minerva';
    
  • Yes Klaar - Navigeer naar Special:Version op de wiki om te controleren dat de vormgeving succesvol is geïnstalleerd.
  • Opmerking: Als u $wgDefaultSkin = 'minerva' instelt, wordt Minerva uw standaardskin, zelfs in de desktopweergave. Sla deze regel over en gebruik in plaats daarvan $wgDefaultMobileSkin = 'minerva'; (voor standaard in recente versies) als u wilt dat alleen MobileFrontend de skin Minerva gebruikt.
Minerva in Voorkeuren

Zorg ervoor dat u wfLoadSkin na wfLoadExtension aanroept.

MobileFrontend integratie

Met de geïntegreerde MobileFrontend (mobiele modus) zal de Minerva-ervaring worden verbeterd om diverse andere functies te omvatten, waaronder:

  • Bevestiging rode link bewerking
  • Referentie pop-up maken
  • Een verbeterde zoekopdracht
  • Betere integratie op mobiele apparaten met veel populaire Wikipedia-stijl sjablonen.

Om hiervan te profiteren:

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

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.

$wgMinervaDonateLink['base'] = true;
Default value is in MediaWiki 1.35 true and in 1.39 false.

When enabled a donate link will be added to the main menu. The donate link uses the sitesupport and sitesupport-url mediawiki messages.

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 there for 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 is 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.