Extension:GrowthExperiments

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎português do Brasil • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
GrowthExperiments
Release status: experimental
Implementation Special page
Description Contains experiments done by the Growth team
Author(s) Stephane Bisson, Roan Kattouw, Kosta Harlan
Compatibility policy release branches
PHP 5.6+
Database changes No
License GNU General Public License 3.0 or later
Download
Parameters
  • $wgWelcomeSurveyEnabled
  • $wgWelcomeSurveyPrivacyPolicyUrl
  • $wgWelcomeSurveyExperimentalGroups
  • $wgGEHomepageTutorialTitle
  • $wgGEHelpPanelReadingModeNamespaces
  • $wgGEHelpPanelExcludedNamespaces
  • $wgGEHelpPanelNewAccountEnablePercentage
  • $wgGEHelpPanelHelpDeskTitle
  • $wgGEHelpPanelViewMoreTitle
  • $wgGEHelpPanelEnabled
  • $wgGEHelpPanelLoggingEnabled
  • $wgGEHelpPanelLinks
  • $wgGEHelpPanelSearchNamespaces
  • $wgGEHelpPanelSearchForeignAPI
  • $wgGEHelpPanelSearchEnabled
  • $wgGEHomepageEnabled
  • $wgGEHomepageNewAccountEnablePercentage
  • $wgGEHomepageLoggingEnabled
  • $wgGEHomepageMentorsList
  • $wgGEConfirmEmailEnabled
Tags
help panel question, help module question, mentorship module question
Hooks used
BeforePageDisplay
BeforeWelcomeCreation
GetPreferences
SpecialPage_initList
UserGetDefaultOptions
LocalUserCreated
ListDefinedTags
ChangeTagsListActive
SkinTemplateNavigation::Universal
PersonalUrls
AuthChangeFormFields
UserSendConfirmationMail
Translate the GrowthExperiments extension if it is available at translatewiki.net
Check usage and version matrix.
Vagrant role growthexperiments
Issues Open tasks · Report a bug

The GrowthExperiments extension is used by Wikimedia Foundation sites for experiments done by the Growth team. The extension contains features for:

  • Special:Homepage
  • Welcome Survey
  • Help Panel
  • ConfirmationEmail improvements


Installation[edit]

  • Download and place the file(s) in a directory called GrowthExperiments in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'GrowthExperiments' );
    // Welcome survey
    $wgWelcomeSurveyEnabled = true;
    $wgWelcomeSurveyPrivacyPolicyUrl = 'URL for privacy policy';
    // Homepage
    $wgGEHomepageEnabled = true;
    $wgGEHomepageNewAccountEnablePercentage = 100;
    $wgGEHomepageTutorialTitle = 'Tutorial'; // MediaWiki tutorial title
    $wgGEHomepageLoggingEnabled = false; // Disable event logging
    $wgGEHomepageMentorsList = 'Mentors'; // MediaWiki title with list of mentors
    // Help panel
    $wgGEHelpPanelEnabled = true;
    $wgGEHelpPanelLoggingEnabled = false; // disable event logging
    $wgGEHelpPanelNewAccountEnablePercentage = 100;
    $wgGEHelpPanelHelpDeskTitle = 'Help_Desk'; // MW title for the help desk
    $wgGEHelpPanelViewMoreTitle = 'Help'; // MW title for additional help links
    // List of links to help topics
    $wgGEHelpPanelLinks = [ 
    [ 'title' => 'Test', 'text' => 'Help Text 1', 'id' => 'Test' ]
    ];
    $wgGEHelpPanelSearchEnabled = true;
    // Email confirmation changes
    $wgGEConfirmEmailEnabled = true;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.