diff --git a/README.md b/README.md index 6a8c3e6b..b881f7ba 100644 --- a/README.md +++ b/README.md @@ -90,8 +90,8 @@ 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 | `$wgCitizenEnableDrawerSiteStats` | Enables the site statistics in drawer menu | `true` - enable; `false` - disable | `true` -`$wgCitizenPortalAttach` | Label of the portal to attach links to upload and special pages to | string | `first` `$wgCitizenThemeColor` | The color defined in the `theme-color` meta tag | Hex color code | `#131a21` ### Search suggestions diff --git a/includes/Partials/Drawer.php b/includes/Partials/Drawer.php index 6ba0e6b1..5185b4d3 100644 --- a/includes/Partials/Drawer.php +++ b/includes/Partials/Drawer.php @@ -103,7 +103,7 @@ final class Drawer extends Partial { * @return array */ private function addSiteTools( $drawer, $portletCount ): array { - $id = $this->getConfigValue( 'CitizenPortalAttach' ); + $id = $this->getConfigValue( 'CitizenSiteToolsPortlet' ); $html = $this->getSiteToolsHTML(); // Attach to first portlet if empty diff --git a/skin.json b/skin.json index 32bb5c35..9b8f8205 100644 --- a/skin.json +++ b/skin.json @@ -734,10 +734,10 @@ "descriptionmsg": "citizen-config-showpagetools", "public": true }, - "PortalAttach": { + "SiteToolsPortlet": { "value": "", - "description": "Label of the portal to attach links to upload and special pages to", - "descriptionmsg": "citizen-config-portalattach", + "description": "ID of the portlet to attach the site tools", + "descriptionmsg": "citizen-config-sitetoolsportlet", "public": true }, "EnableCollapsibleSections": {