Do not output <sup>β</sup> as part of the logo on all pages, but only on our beta (testing) sites
To work on this task you should probably already have worked on a MobileFrontend/Minerva task before.
MediaWiki has an extension called MobileFrontend which uses a skin called Minerva-Neue.
Outputting ' ` as part of logo link, seen f.e. on https://en.m.wikipedia.org/wiki/Jade_Terrapin_from_Allahabad today, is a bad idea, as it is code for our "beta" (testing) sites and not meant for "production" (the real Wikipedias).
Beta should probably be output via beta-specific Javascript.
Acceptance criteria:
includes/skins/MinervaTemplate.php
should not be directly accessingMobileContext
- The beta character should not appear in the HTML for stable. The
β
character is defined in the templateincludes/skins/minerva.mustache
The template will be passed a property "isBeta" and add this conditionally. This value will come from the value of SkinMinerva::OPTIONS_MOBILE_BETA
echo $templateParser->processTemplate( 'minerva', $templateData );
it's important not to use MobileContext directly as this goes against our attempts to separate Minerva from MobileFrontend.
Please also see the Phabricator task for images and more information!
You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.