mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-11 16:48:54 +00:00
feat(core): ✨ rename $wgCitizenSiteToolsPorlet
to $wgCitizenGlobalToolsPorlet
This commit is contained in:
parent
fb9b17108d
commit
2bc022aba2
|
@ -97,7 +97,7 @@ Name | Description | Values | Default
|
|||
`$wgCitizenThemeDefault` | The default theme of the skin | `auto` - switch between light and dark according to OS/browser settings; `light`; `dark` | `auto`
|
||||
`$wgCitizenEnableCollapsibleSections` | Enables or disable collapsible sections on content pages | `true` - enable; `false` - disable | `true`
|
||||
`$wgCitizenShowPageTools` | The condition of page tools visibility | `true` - always visible; `login` - visible to logged-in users; `permission` - visible to users with the right permissions | `true`
|
||||
`$wgCitizenSiteToolsPortlet` | ID of the portlet to attach the site tools | string |
|
||||
`$wgCitizenGlobalToolsPortlet` | ID of the portlet to attach the global tools | string |
|
||||
`$wgCitizenEnableDrawerSiteStats` | Enables the site statistics in drawer menu | `true` - enable; `false` - disable | `true`
|
||||
`$wgCitizenUseNumberFormatter` | Use NumberFormatter for site statistics, which allows formatting number in a localized way | `true` - enable; `false` - disable | `true`
|
||||
`$wgCitizenThemeColor` | The color defined in the `theme-color` meta tag | Hex color code | `#131a21`
|
||||
|
|
|
@ -50,7 +50,7 @@ final class Drawer extends Partial {
|
|||
// Enable label for first portlet
|
||||
$sidebarData['data-portlets-first']['has-label'] = true;
|
||||
|
||||
$globalToolsId = $this->getConfigValue( 'CitizenSiteToolsPortlet' );
|
||||
$globalToolsId = $this->getConfigValue( 'CitizenGlobalToolsPortlet' );
|
||||
$globalToolsHtml = $this->getGlobalToolsHTML();
|
||||
$globalToolsAdded = false;
|
||||
|
||||
|
|
|
@ -751,10 +751,10 @@
|
|||
"descriptionmsg": "citizen-config-showpagetools",
|
||||
"public": true
|
||||
},
|
||||
"SiteToolsPortlet": {
|
||||
"GlobalToolsPortlet": {
|
||||
"value": "",
|
||||
"description": "ID of the portlet to attach the site tools",
|
||||
"descriptionmsg": "citizen-config-sitetoolsportlet",
|
||||
"description": "ID of the portlet to attach the global tools",
|
||||
"descriptionmsg": "citizen-config-globaltoolsportlet",
|
||||
"public": true
|
||||
},
|
||||
"EnableCollapsibleSections": {
|
||||
|
|
Loading…
Reference in a new issue