https://bugzilla.wikimedia.org/show_bug.cgi?id=63459

--- Comment #6 from Florian <[email protected]> ---
> 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' )
    )
  )
)
?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to