3,958
edits
Juho Kunsola (talk | contribs) (→Accounts are available by request: reworking the content. 4-step account request (username, email, ReCAPTCHA and click on the verification email)) |
Juho Kunsola (talk | contribs) (Documenting mobile interface (big edit)) |
||
Line 123: | Line 123: | ||
== Scary transclusion == | == Scary transclusion == | ||
<code>$wgEnableScaryTransclusion = true;</code> is enabled and [[Special:Interwiki]] adjusted so that pages with the interwiki prefix 'wikipedia:' can be transcluded by writing <nowiki>{{wikipedia::Article name}}</nowiki> | <code>$wgEnableScaryTransclusion = true;</code> is enabled and [[Special:Interwiki]] adjusted so that pages with the interwiki prefix 'wikipedia:' can be transcluded by writing <nowiki>{{wikipedia::Article name}}</nowiki> | ||
== Mobile interface == | |||
'''[[mw:Extension:MobileFrontend]]''' (MF) and '''[[mw:Skin:Minerva Neue]]''' together make a mobile view. | |||
Advanced Mobile Contributions ('''AMC''') needs to be enabled for all users in order for them to see a link to [[Special:RecentChanges]] and [[Special:SpecialPages]] | |||
* In the following configuration | |||
* "''base''" => all mobile users | |||
* "''beta''" => users that have enabled the beta features in the mobile menu -> settings | |||
* "''amc''" => users that have enabled AMC in mobile menu -> settings | |||
Here is the configuration for the mobile interface: | |||
<code> | |||
wfLoadSkin( 'MinervaNeue' ); # load skin specifically developed for mobile device audience | |||
$wgMFDefaultSkinClass = 'SkinMinerva'; # default skin for MF | |||
wfLoadExtension( 'MobileFrontend' ); # load MF | |||
$wgMFAutodetectMobileView = true; # explicit setting of this is not required since Mediawiki version (???) | |||
$wgMFAdvancedMobileContributions = true; # allow AMC. '''Obs.''' without this there will be no reasonable minimum menu | |||
$wgMinervaPageActions = array( # show UI for page actions: edit, talk, watch, switch language | |||
'edit' => true, | |||
'talk' => true, | |||
'watch' => true, | |||
'switch-language' => true | |||
); | |||
$wgMinervaHistoryInPageActions = array( # show UI for page history in mobile menu to all mobile users | |||
'beta' => true, | |||
'base' => true, | |||
'amc' => true | |||
); | |||
$wgMinervaAdvancedMainMenu = array( # Enable Advanced Main Menu in mobile menu to all mobile users | |||
'beta' => true, | |||
'base' => true, | |||
'amc' => true | |||
); | |||
$wgMinervaPersonalMenu = array( # Show personal menu in mobile menu to all mobile users | |||
'beta' => true, | |||
'base' => true, | |||
'amc' => true | |||
); | |||
</code> |