There's been some confusion since we updated the [special page](https://www.mediawiki.org/wiki/Manual:Special_pages) `Special:MobileOptions`.
If you are a third party (means: not Wikimedia) that uses MediaWiki and the MobileFrontend extension on your server, since MobileFrontend beta features are disabled by default (via `$wgMFEnableBeta = false`), the settings page is empty.
{F22693445}
= Replication steps
Load up an instance of MobileFrontend:
In LocalSettings.php add:
```
$wgMFEnableBeta = false;
$wgMFAdvancedMobileContributions = false;
$wgMFEnableFontChanger = [ 'base' => false, 'stable' => false ];
```
Click the hamburger menu - the settings page loads but there is nothing there!
Expected: The link should not have shown. The settings page should 404.
== Acceptance criteria
Should be a PHP only change[] Special:MobileOptions should render "No settings are available". which displays when wgMFEnableFontChanger is not enabled. This should show when javascript is disabled (use a noscript tag) or when JS is enabled but the feature flag is not (render a message)
[] If $wgMFEnableFontChanger , $wgMFEnableBeta and $wgMFAdvancedMobileContributions are all disabled for the current user, do not render the settings link in the menu
[] If $wgMFEnableFontChanger , $wgMFEnableBeta and $wgMFAdvancedMobileContributions are all disabled for the current user, visiting Special:MobileOptions should 404.
Note: If $wgMFEnableFontChanger is enabled to keep things simple, we will still render the settings link for non-JS users.
[] When no settings, remove link from menu= Before starting
[] the settings page `MobileOptions` should be disabled and inaccessible when there are no settings. We'll need to disable the registration of the special page inside the `SpecialPageInitList` hookTake a look at the code for wgMFEnableFontChanger to understand how our feature flags work and how to use includes/features/FeaturesManager.php .
= Mentor
[] We'll need to update the FeatureManager so where we can tell this is the case.
[] on setting page,@Jdlrobson display message "No settings are available at this time"