Page MenuHomePhabricator

Perhaps "Advanced Mode" should be on by default for anon users
Closed, DuplicatePublic

Description

Currently with a standard install of MobileFrontend on non-WMF wiki anonymous users have no 'Recent Changes' nor 'Special Pages' in the mobile menu and this does not seem wise for a wiki software default behavior.

Thus I would like to kindly ask for a way to turn on 'Advanced Mode' for non-logged in users by default, so that they would have 'Recent Changes' and 'Special Pages' in the mobile menu.

My goal is to have a reasonable mobile menu, but not much current documentation is available on how to achieve it.

Reedy kindly filed this ticket https://phabricator.wikimedia.org/T260577 about the documentation being out-of-date, when I was in irc asking for any kind of help and suggested filing a ticket about the default perhaps needing changing.

Event Timeline

Jdlrobson subscribed.

FYI for local wiki installs it should be possible to enable all the features inside AMC for anonymous users. Note desktop Minerva runs AMC by default.

For example

$wgMinervaAdvancedMainMenu = [ 'base' => true ]

Please review the configuration options in https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/master/skin.json#L58

Thank you for solving the issue for me @Jdlrobson.

After searching for "$wgMinervaAdvancedMainMenu" I found this apparently automatically generated documentation https://doc.wikimedia.org/mediawiki-skins-MinervaNeue/master/php/ and reached what I wanted i.e. at least RC + Special Pages for anon users with these settings:

$wgMinervaAdvancedMainMenu = array(
  'beta' => true,
  'base' => true,
  'amc' => true
);

$wgMinervaPersonalMenu = array(
  'beta' => true,
  'base' => true,
  'amc' => true
);

I feel grateful also to @Reedy for helping me trying to figure out this mobile menu thing and for pointing out that various "solutions" or documentations of were out-of-date.