mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
feat(core): rename $wgCitizenPortalAttach
to $wgCitizenSiteToolsPortlet
The previous name was not self-explanatory.
This commit is contained in:
parent
64ffd3642b
commit
851356f3d9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue