Merge "README should document all config"

This commit is contained in:
jenkins-bot 2019-02-21 17:26:34 +00:00 committed by Gerrit Code Review
commit 5f4a4e53a0
1 changed files with 63 additions and 0 deletions

View File

@ -52,6 +52,18 @@ If 1, all errors will be logged to the EventLogging client, thus when enabling t
care should be taken that your setup is bug free in order to not overwhelm the EventLogging care should be taken that your setup is bug free in order to not overwhelm the EventLogging
server. server.
#### $wgMinervaShowCategoriesButton
* Type: `Array`
* Default:
```php
[
'base' => false,
'beta' => true,
]
```
Controls whether the category button should be displayed.
#### $wgMinervaApplyKnownTemplateHacks #### $wgMinervaApplyKnownTemplateHacks
* Type: `Boolean` * Type: `Boolean`
@ -67,6 +79,57 @@ When enabled and hacks.less exists, hacks.less workarounds are included in style
Controls which page actions, if any, are displayed. Allowed: `edit`, `watch`, `talk`, and Controls which page actions, if any, are displayed. Allowed: `edit`, `watch`, `talk`, and
`switch-language`. `switch-language`.
#### $wgMinervaPageIssuesNewTreatment
* Type: `Array`
* Default:
```php
[
'base' => false,
'beta' => true,
]
```
Controls whether page issues should be replaced with a "Page issues" link (false) or displayed inline (true).
#### $wgMinervaTalkAtTop
* Type: `Array`
* Default:
```php
[
'beta' => false,
'base' => false,
'amc' => true,
]
```
Controls whether the talk option should be displayed at the top of the page.
This will work for all pages except the main page.
#### $wgMinervaShowShareButton
* Type: `Array`
* Default:
```php
[
'beta' => false,
'base' => false,
]
```
Controls whether the share feature should be added to the page actions menu.
#### $wgMinervaEnableBackToTop
* Type: `Array`
* Default:
```php
[
'base' => false,
'beta' => true,
]
```
Controls whether the a back to top button should appear in the bottom right of the screen when scrolling.
#### $wgMinervaCustomLogos #### $wgMinervaCustomLogos
* Type: `Array` * Type: `Array`