Jump to content

Extension:GrowthExperiments

From mediawiki.org
MediaWiki extensions manual
GrowthExperiments
Release status: stable
Implementation Special page
Description Contains experiments done by the Growth team
Author(s) Stephane Bisson, Sergio Gimeno, Kosta Harlan, Roan Kattouw, Mew Ophaswongse, Gergő Tisza, Martin Urbanec
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
PHP 7.2+
Database changes Yes
Virtual domain virtual-growthexperiments
  • $wgGENewcomerTasksRemoteArticleOrigin
  • $wgWelcomeSurveyExperimentalGroups
  • $wgGEUserImpactMaxThanks
  • $wgGEStructuredMentorList
  • $wgGEMediaInfoRepos
  • $wgGERestbaseUrl
  • $wgGEHomepageSuggestedEditsEnabled
  • $wgGEApiQueryGrowthTasksLookaheadSize
  • $wgGEMentorDashboardEnabledModules
  • $wgGEReviseToneSuggestedEditEnabled
  • $wgGENewcomerTasksTaskTypeHandlers
  • $wgGELevelingUpKeepGoingNotificationSendAfterSeconds
  • $wgGEHelpPanelNewAccountEnableWithHomepage
  • $wgGECampaigns
  • $wgGEMentorshipNewAccountEnablePercentage
  • $wgGENewcomerTasksRemoteApiUrl
  • $wgGEPersonalizedPraiseBackendEnabled
  • $wgGENewcomerTasksSectionImageRecommendationsEnabled
  • $wgGEDeveloperSetup
  • $wgGEReviseToneServiceUrl
  • $wgGELinkRecommendationServiceWikiIdMasquerade
  • $wgGEImageRecommendationServiceWikiIdMasquerade
  • $wgGEPersonalizedPraiseNotificationsEnabled
  • $wgGEUserImpactMaxEdits
  • $wgGEMentorshipCleanupEnabled
  • $wgGEImageRecommendationServiceAccessToken
  • $wgGELevelingUpManagerInvitationThresholds
  • $wgGELevelingUpNotificationsTrackingEnabled
  • $wgGEReviseToneRecommendationProvider
  • $wgGELinkRecommendationsFrontendEnabled
  • $wgWelcomeSurveyReminderExpiry
  • $wgGENewcomerTasksImageRecommendationsEnabled
  • $wgGEImageRecommendationServiceUseTitles
  • $wgGEImageRecommendationServiceUrl
  • $wgGEUserImpactMaximumProcessTimeSeconds
  • $wgGECommunityUpdatesEnabled
  • $wgGECampaignTopics
  • $wgGEImageRecommendationServiceHttpProxy
  • $wgGELinkRecommendationsRefreshByIteratingThroughAllTitles
  • $wgGEReviseToneExcludedTemplates
  • $wgGEReviseToneOverrideSearchTerm
  • $wgGEHelpPanelSearchForeignAPI
  • $wgGEReviseToneParagraphScoreThreshold
  • $wgGELinkRecommendationsUseEventGate
  • $wgGEReviseToneExcludedCategories
  • $wgGELinkRecommendationServiceUrl
  • $wgGEUserImpactMaxArticlesToProcessForPageviews
  • $wgWelcomeSurveyEnabled
  • $wgGEHelpPanelSuggestedEditsPreferredEditor
  • $wgGEImageRecommendationApiHandler
  • $wgGELinkRecommendationServiceTimeout
  • $wgGERefreshUserImpactDataMaintenanceScriptEnabled
  • $wgGEMentorshipReassignMenteesBatchSize
  • $wgGELinkRecommendationMinimumTasksPerTopic
  • $wgGETopicsMatchModeEnabled
  • $wgWelcomeSurveyAllowFreetextResponses
  • $wgGELevelingUpGetStartedNotificationSendAfterSeconds
  • $wgWelcomeSurveyPrivacyStatementUrl
  • $wgGEHomepageDefaultVariant
  • $wgGEPersonalizedPraiseMaxReverts
  • $wgGEHelpPanelNewAccountEnablePercentage
  • $wgGELinkRecommendationServiceAccessToken
  • $wgGEHomepageSuggestedEditsEnableTopics
  • $wgGENewcomerTasksLinkRecommendationsEnabled
  • $wgGELevelingUpManagerTaskTypeCountThresholdMultiple
help panel question, help module question, mentorship module question, newcomer task
  • setmentor
  • managementors
  • enrollasmentor
Licence GNU General Public License 3.0 or later
Download
Translate the GrowthExperiments extension if it is available at translatewiki.net
Vagrant role growthexperiments
Issues Open tasks · Report a bug

The GrowthExperiments extension provides newcomer features, such as a homepage with suggested tasks and finding mentors. It is developed by the Growth team for use on Wikimedia Foundation sites. The extension includes:

Integrations

[edit]

GrowthExperiments integrates with the following extensions:

Hard dependencies

[edit]

These dependencies are required to install GrowthExperiments.

Extension Description
CommunityConfiguration to allow administrators to customise the extension based on their needs
VisualEditor for a better editing experience when doing suggested tasks

Soft dependencies

[edit]

These extensions are optional, but the behaviour of GrowthExperiments without those extensions present is not heavily tested.

Extension Description
CentralAuth to exclude locked users from the Mentor dashboard
CirrusSearch for various search features used during suggested tasks
ConfirmEdit TBD
Echo for informing new users and mentors about various opportunities
EventBus to inform Add Image infrastructure about user decisions about recommendations
EventLogging to log user interaction for analysis purposes
Flow for messaging features ("ask help" dialog on the homepage and in the help panel) when the target page is a Flow page
GuidedTour to guide new users through the interface
MobileFrontend for showing a mobile-optimized version of various features
PageImages for getting the thumbnails showing in the "Surfacing structured tasks"-experiment
PageViewInfo for various interface elements trying to explain the user's current or potential impact, most notably the "impact" module on Special:Homepage
Thanks to compute the number of Thanks received in User impact data
TextExtracts for getting an extract from an article when the descriptions from Wikibase (see above) or Wikibase itself are not available. Also for use in the "Surfacing structured tasks"-experiment
UniversalLanguageSelector for language selection in the post-registration survey
Wikibase for getting the descriptions showing in the "Surfacing structured tasks"-experiment
WikimediaMessages to populate the list of topics in Suggested edits

Web APIs

[edit]

The extension also uses some web APIs which are probably unavailable for non-Wikimedia wikis:

  • Page Content Service for displaying task card information such as a description and an image
  • Analytics Query Service for interface elements related to impact (this is abstracted away via the PageViewInfo extension on the server-side, but for client-side features that's not always possible)
  • Add Link for link recommendation tasks
  • Add Image for image recommendation tasks

Installation

[edit]

To download GrowthExperiments:

git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/GrowthExperiments" extensions/GrowthExperiments

Read the developer setup documentation for further configuration required.

Development

[edit]