Per T209297#4770939 and T209297#4790781, we want the ability to vary links in the help panel by context. Context can be desktop or mobile, visualeditor or wikitext. Additionally, one could envision a desire to vary links by namespace, so we should build that as well.
If a given wiki wants the same links to appear in all contexts they can set a "default" list.
I would suggest building this out via a configuration value, like:
``` lang=php
$wgGEHelpPanelLinks = [
'default' => [
'title' => 'Wikipedia:Tutorial/Editing',
'display_text' => 'Editing tutorial'
// 4 more links.
// These links are used across all contexts unless they are
// overridden below
],
NS_MAIN => [
'mobile' => [
've' => [
// 5 links
],
'wikitext' => [
// 5 links
],
],
'desktop' => [
// same structure as mobile above
],
NS_PORTAL => [
// same as NS_MAIN above
]
]
];
```