User Tools

Site Tools


doc:appunti:linux:sa:mediawiki_1_30

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:mediawiki_1_30 [2018/02/09 12:41] – [Dominio dedicato alla versione mobile] niccolodoc:appunti:linux:sa:mediawiki_1_30 [2018/02/09 12:48] (current) – [Dominio dedicato alla versione mobile] niccolo
Line 13: Line 13:
 wfLoadExtension( 'MobileFrontend' ); wfLoadExtension( 'MobileFrontend' );
 $wgMFAutodetectMobileView = true; $wgMFAutodetectMobileView = true;
 +// Hide switch-language button in Minerva skin
 $wgMinervaAlwaysShowLanguageButton = false; $wgMinervaAlwaysShowLanguageButton = false;
 </code> </code>
Line 62: Line 63:
 // MobileFrontend will ignore the requested domain name. // MobileFrontend will ignore the requested domain name.
 //$wgMobileUrlTemplate = '%h0.m.%h1.%h2'; //$wgMobileUrlTemplate = '%h0.m.%h1.%h2';
-// Requests with this header, will be considered as coming from mobile.+// Requests with this header, will be forced as mobile.
 $wgMFMobileHeader = 'X-Subdomain'; $wgMFMobileHeader = 'X-Subdomain';
 </code> </code>
doc/appunti/linux/sa/mediawiki_1_30.1518176468.txt.gz · Last modified: 2018/02/09 12:41 by niccolo