Last modified: 2014-09-26 17:32:13 UTC
Watchlist Uploads Settings etc. might not be appropriate for some wikis' main menu, whilst Special:SpecialPages might on the other hand be much needed. Currently one cannot customize the menu at all. Please offer a way, preferably via LocalSettings.php, rather than a Mediawiki:Sidebar approach.
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1896
Discussion on MediaWiki.org: https://www.mediawiki.org/wiki/Thread:Extension_talk:MobileFrontend/How_do_you_Customize_the_Menu%3F
Note: this would be useful to disable nearby on Commons (see bug 65888)
Hmm, the question is, what would you exactly do? Only hide elements, you don't need? (Random Page, Home etc.) or add elements too?
Max what would you suggest? I wonder if a hook on prepareDiscoveryTools and preparePersonalTools would suffice. An alternative approach would be a series of global variables. e.g. $personalTools = array( array( title: Title icon: 'home', label: wfMessage( 'home' ) ) ) I'd hold off any sort of patch until we work out how this would work.
> I'd hold off any sort of patch until we work out how this would work. Totally agree :) > I wonder if a hook on prepareDiscoveryTools and preparePersonalTools would suffice. I think no, which a hook, a normal user/wiki administrator/provider maybe can not do anything, so i promote the second: > An alternative approach would be a series of global variables. Maybe one global variable is enough? Maybe as a multidimensional array like: $wgMFNavItems = array( 'main' => array( 'home' => array( 'title' => 'Title' 'icon' => 'home', 'label' => wfMessage( 'home' ) ), 'random' => array( 'title' => 'Title', 'icon' => 'random', 'label' => wfMessage( 'random' ) ) ), 'user' => array( 'home' => array( 'title' => 'Watchlist' 'icon' => 'watch', 'label' => wfMessage( 'watchlist' ) ), 'random' => array( 'title' => 'Settings', 'icon' => 'settings', 'label' => wfMessage( 'settings' ) ) ) ) ?
(In reply to Florian from comment #4) > Hmm, the question is, what would you exactly do? Only hide elements, you > don't need? (Random Page, Home etc.) or add elements too? Add elements too. The bottom line here is to keep some consistency between your modifications to desktop's MediaWiki:Sidebar and you mobile sidebar.
> Max what would you suggest? ? :)
Any new status?