build: Updating mediawiki/mediawiki-phan-config to 0.17.0

Change-Id: I6d8f6944b9eb82c9623fc31e9f9210a8417b8e80
1 file changed
tree: ec202b821f30c8216373eb54636f389ce2365f68
  1. .phan/
  2. i18n/
  3. includes/
  4. maintenance/
  5. modules/
  6. tests/
  7. .arcconfig
  8. .eslintrc.json
  9. .gitignore
  10. .gitreview
  11. .phpcs.xml
  12. bundlesize.config.json
  13. CODE_OF_CONDUCT.md
  14. composer.json
  15. COPYING
  16. extension.json
  17. Gruntfile.js
  18. package-lock.json
  19. package.json
  20. README.md
README.md

CollapsibleVector

Vector provides enhancements to the Vector skin

This extension requires MediaWiki 1.35+.

Example LocalSettings.php additions

wfLoadExtension( 'CollapsibleVector' );

Before configuring this extension, see extension.json and become familiar with the initial state and structure of the $wgCollapsibleVector configuration variable. Essentially it's an array of arrays, keyed by feature name, each containing global and user keys with boolean values. "global" indicates that it should be turned on for everyone always, while user indicates that users should be allowed to turn it on or off in their user preferences.

To enable a preference by default but still allow users to disable it in preferences, use something like...

$wgDefaultUserOptions['collapsiblevector-collapsiblenav'] = 1;