User:Ochaochaocha3/MobileFrontend Localisation Test 1

$wgMFEnableXAnalyticsLogging
Whether or not to enable the use of the X-Analytics HTTP response header. This header is used for analytics purposes.

See: https://www.mediawiki.org/wiki/Analytics/Kraken/Data_Formats/X-Analytics


 * Type:
 * Default:

$wgMinervaAlwaysShowLanguageButton
Whether to show the language switcher button even if no languages are available for the page.


 * Type:
 * Default:

$wgMFAppPackageId
ID of the App to deep link to replacing the browser. Set  to have no such link.

See: https://developers.google.com/app-indexing/webmasters/details


 * Type:
 * Default:

$wgMFAppScheme
Scheme to use for the deep link.


 * Type:
 * Default:

$wgMFEditorOptions
Options to control several functions of the mobile editor. Possible values:

  : Whether or not anonymous (not logged in) users should be able to edit. Note this is highly experimental and comes without any warranty and may introduce bugs until anonymous editing experience is addressed in this extension. Anonymous editing on mobile is still a big unknown. See bug 53069. Thoughts welcomed on https://www.mediawiki.org/wiki/Mobile_wikitext_editing#Anonymous_editing  : Should the mobile edit workflow contain an edit preview (before save) to give the user the possibility to review the new text resulting of his changes or not.  Type:   Default: 

$wgMFEnableSiteNotice
Whether site notice's can be shown in the mobile skin.

See: https://www.mediawiki.org/wiki/Manual:$wgSiteNotice


 * Type:
 * Default:

$wgMFIgnoreEventLoggingBucketing
Disable EventLogging bucketing for purposes of development. When enabled all events are logged regardless of any existing sampling rate specified in the schema.


 * Type:
 * Default:

$wgMFExperiments
A list of experiments active on the skin.

 Type:   Default: 

$wgMFEnableMinervaBetaFeature
Controls whether the &quot;Minerva as a desktop skin&quot; beta feature is enabled.


 * Type:
 * Default:

$wgMFEnableJSConsoleRecruitment
Controls whether a message should be logged to the console to attempt to recruit volunteers.


 * Type:
 * Default:

$wgMFIsBannerEnabled
Whether or not the banner experiment is enabled.

See: https://www.mediawiki.org/wiki/Reading/Features/Article_lead_image


 * Type:
 * Default:

$wgMFMobileFormatterHeadings
This is a list of html tags, that could be recognized as the first heading of a page. This is an interim solution to fix Bug T110436 and shouldn't be used, if you don't know, what you do. Moreover, this configuration variable will be removed in the near future (hopefully).


 * Type:
 * Default:

$wgMFSpecialCaseMainPage
If set to true, main page HTML will receive special massaging.

See https://m.mediawiki.org/wiki/Mobile_Gateway/Mobile_homepage_formatting

Use is discouraged as it leads to unnecessary technical debt and on the long term the goal is to deprecate usage of this config variable. Use at your own risk!


 * Type:
 * Default:

$wgMinervaEnableSiteNotice
Controls whether site notices should be shown.


 * Type:
 * Default:

$wgMFTidyMobileViewSections
Controls whether API  should have every HTML section tidied for invalid markup.


 * Type:
 * Default:

$wgMFMobileHeader
Requests containing header with this name will be considered as coming from mobile devices. The default value is for backwards compatibility.

Set to  to explicitly disable this way of detection.


 * Type:
 * Default:

$wgMinervaBottomLanguageButton
Whether the language button at the bottom of the page is enabled

Whether to show the language switcher button even if no languages are available for the page.


 * Type:
 * Default:

$wgMFRemovableClasses
Make the classes, tags and ids stripped from page content configurable. Each item will be stripped from the page.

 Type: </li>  Default: </li></ul>

$wgMFLazyLoadImages
Do load images in pages lazily. Currently it doesn't affect HTML-only clients (only JS capable ones) and it lazy loads images when they come close to the viewport.

 Type: </li>  Default: </li></ul>

$wgMFNoMobileCategory
DB key of the category which members will never display mobile view.


 * Type:
 * Default:

$wgMFNoMobilePages
Prefixed names of pages that will never display mobile view.


 * Type:
 * Default:

$wgMFNearbyRange
The range in meters that should be searched to find nearby pages on Special:Nearby (defaults to 10km).


 * Type:
 * Default:

$wgMFNearby
Whether geodata related functionality should be enabled.


 * Type:
 * Default:

$wgMFNearbyEndpoint
An optional alternative api to query for nearby pages, e.g. https://en.m.wikipedia.org/w/api.php

If set forces nearby to operate in JSONP mode.


 * Type:
 * Default:

$wgMFSearchAPIParams
Define a set of params that should be passed in every gateway query.

 Type: </li>  Default: </li></ul>

$wgMFPageActions (deprecated)
See.

$wgMinervaPageActions
Controls which page actions, if any, are displayed. Allowed:,  ,  , and.


 * Type:
 * Default:

$wgMFQueryPropModules
Define a set of page props that should be associated with requests for pages via the API.


 * Type:
 * Default:

$wgMFRSSFeedLink
Sets RSS feed  being outputted or not while on mobile version.


 * Type:
 * Default:

$wgMFSearchGenerator
Define the generator that should be used for mobile search.

 Type: </li>  Default: </li></ul>

$wgMFMinCachedPageSize
Pages with smaller parsed HTML size are not cached. Set to 0 to cache everything or to some large value to disable caching completely.


 * Type:
 * Default:

$wgMFAutodetectMobileView
Set this to true to automatically show mobile view depending on people's user-agent.

WARNING: Make sure that your caching infrastructure is configured appropriately, to avoid people receiving cached versions of pages intended for someone else's devices.


 * Type:
 * Default:

$wgMFVaryOnUA
Set this to, if you want to send   in the   header. This could improve your SEO ranking.

WARNING: You should set this to true only, if you know what you're doing!

CAUTION: Setting this to true in combination with a (frontend)caching layer (such as Varnish) can have a huge impact on how your caching works, as it now caches every single page multiple times for any possible/different User Agent string!


 * Type:
 * Default:

$wgMFShowMobileViewToTablets
Controls whether tablets should be shown the mobile site. Works only if  is.


 * Type:
 * Default:

$wgMFDeviceWidthMobileSmall
Devices with available screen of this value and less will have some styles adapted for improved reading on small screens.


 * Type:
 * Default:

$wgMFDeviceWidthTablet
Minimum available screen width at which a device can be considered a tablet/desktop.


 * Type:
 * Default:

$wgMobileUrlTemplate
Template for mobile URLs.

This will be used to transcode regular URLs into mobile URLs for the mobile view.

It's possible to specify the mobileness of the URL in the host portion of the URL.

You can either statically or dynamically create the host-portion of your mobile URL. To statically create it, just set  to the static hostname. For example:

Alternatively, the host definition can include placeholders for different parts of the host section of a URL. The placeholders are denoted by  and followed with a digit that maps to the position of a host-part of the original, non-mobile URL. Take the host  for example. maps to,   maps to  , and   maps to. So, if you wanted a mobile URL scheme that turned  into , your URL template would look like:

%h0.m.%h1.%h2
 * Type:
 * Default:

$wgMobileFrontendFormatCookieExpiry
The number of seconds the  cookie should be valid.

The useformat cookie gets set when a user manually elects to view either the mobile or desktop view of the site.

If this value is not set, it will default to


 * Type:
 * Default:

$wgMFNoindexPages
Set to false to allow search engines to index your mobile pages. So far, Google seems to mix mobile and non-mobile pages in its search results, creating confusion.


 * Type:
 * Default:

$wgMFStopRedirectCookieHost
Set the domain of the  cookie.

If this value is not set, it will default to the top domain of the host name (e.g. )

If you want to set this to a top domain (to cover all subdomains), be sure to include the preceding  (e.g. yes: , no:  )


 * Type:
 * Default:

$wgMFCustomLogos
Make the logos configurable.

Currently,,  , and   elements are supported.


 * is the URL of the logo displayed in the footer
 * (optional) is the width in pixels of the copyright image you want to display
 * (optional) is the height in pixels of the copyright image you want to display
 * If the actual  dimensions are 200x30, then you may want to set the width and height to 100 and 15 respectively (in order to support retina screens).

Example:


 * Type:
 * Default:

$wgMobileFrontendLogo
Path to the logo used in the login/signup form. The standard height is  (FIXME: Merge with  )


 * Type:
 * Default:

$wgMFTrademarkSitename
Whether to append a trademark notice to the sitename in the page footer.


 * If set to  or , adds a ™ to the sitename.
 * If set to  adds a ® to the sitename.
 * If set to, adds nothing (the default).

Alternatively, you can also edit the  message directly.


 * Type:
 * Default:

$wgDeviceDetectionClass
Name of the class used for mobile device detection, must be inherited from.


 * Type:
 * Default:

$wgMFEnableBeta
Whether beta mode is enabled.


 * Type:
 * Default:

$wgMFDonationUrl
Optional string to mobile friendly url for donation page.


 * Type:
 * Default:

$wgMFContentNamespace
The content namespace(s) that Special:Nearby and Special:Random should use. Should be one or more of  constants, pipe-separated.


 * Type:
 * Default:

$wgMFDefaultSkinClass
The default skin for MobileFrontend.


 * Type:
 * Default:

$wgMinervaAlwaysShowLanguageButton
Whether to show the language switcher button even if no languages are available for the page.


 * Type:
 * Default:

$wgMFNamespacesWithoutCollapsibleSections
In which namespaces sections shoudn't be collapsed.

 Type: </li>  Default: </li></ul>

$wgMFCollapseSectionsByDefault
Controls whether to collapse sections by default.

Leave at default  for &quot;encyclopedia style&quot;, where the section 0 lead text will always be visible and subsequent sections may be collapsed by default.

Set to  for &quot;dictionary style&quot;, sections are not collapsed.


 * Type:
 * Default:

$wgMFPhotoUploadWiki
The wiki id/dbname for where photos are uploaded, if photos are uploaded to a wiki other than the local wiki (eg commonswiki).


 * Type:
 * Default:

$wgMFPhotoUploadEndpoint
An api to which any photos should be uploaded. e.g.


 * Type:
 * Default: Defaults to the current wiki

$wgMFUploadMinEdits
Set the minimum edits the user needs before they can upload images in mobile mode.


 * Type:
 * Default:

$wgMFUseWikibaseDescription (deprecated)
See

$wgMFDisplayWikibaseDescription (deprecated)
See

$wgMFDisplayWikibaseDescriptionsAsTaglines (deprecated)
See

$wgMFUseWikibase
If set to true, the use Wikibase is enabled and associated features is enabled. See


 * Type:
 * Default:

$wgMFDisplayWikibaseDescriptions
Set which features will use Wikibase descriptions, e.g.

 <li>Type: </li> <li> Default: </li></ul>

$wgMFStripResponsiveImages
Whether to strip  attributes from all images on mobile renderings. This is a sort of brute-force bandwidth optimization at the cost of making images fuzzier on most devices.


 * Type:
 * Default:

$wgMFResponsiveImageWhitelist
Whitelist of source file mime types to retain srcset attributes on when using $wgMFStripResponsiveImages. Defaults to allow rasterized SVGs since they usually are diagrams that compress well and benefit from the higher resolution.

<ul> <li>Type: </li> <li> Default: </li></ul>

$wgMinervaUsePageActionBarV2
Whether or not to use the v2 styles for the page action bar – the set of icons displayed near to the title of the page.

When enabled the page actions will appear horizontally below the title at mobile widths and to the right of the title at tablet widths. The language switcher will always be the leftmost page action.


 * Type:
 * Default: