Page MenuHomePhabricator

Mention the homepage banner in Special:EditGrowthConfig
Closed, ResolvedPublic

Description

The Growth team created a configuration page to allow community to configure the features, see https://www.mediawiki.org/wiki/Growth/Community_configuration.

In addition to the features already covered by the Growth team features, there is also homepage banner, which can be configured via https://ar.wikipedia.org/wiki/%D9%85%D9%8A%D8%AF%D9%8A%D8%A7%D9%88%D9%8A%D9%83%D9%8A:Growth-homepage-banner. However, this is not mentioned or controled by the config form. Maybe we should mention it in the form?

I'm not sure editing the banner directly from the form is a good idea (as it would likely require a lot of previews to make sure it's rightly formated), but mentioning it with an info message sounds good enough to me.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Impact: Customizable banner via community configuration
What happens if we don’t do this task: status quo
Level of effort: Low/medium if previewing banner formatting isn't required (@Urbanecm_WMF correct me if I'm wrong)
Decision maker: @MMiller_WMF — can you confirm if this is something we'd like to add to community configuration?

@Urbanecm_WMF -- I am fine with you making this change to mention the banner from the page in a note at the top. Please go ahead!

Change 721992 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] SpecialEditGrowthConfig: Add a sentence about the banner module

https://gerrit.wikimedia.org/r/721992

@MMiller_WMF Posted a patch to do that. Sorry for my previous comment; I didn't (re)read the ticket and your comment carefully enough.

Change 721992 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] SpecialEditGrowthConfig: Add a sentence about the banner module

https://gerrit.wikimedia.org/r/721992

Etonkovidova added a subscriber: Etonkovidova.

Checked on betalabs

  • the sentence has been added: "You can also display a banner on the newcomer homepage, to include announcement about events important to newcomers. If you want to do so, you need to add it to MediaWiki:Growth-homepage-banner manually. Any content added there will be displayed in a yellow banner at the top of Special:Homepage."
  • the links work correctly

Regular users will not see the above sentence on Special:EditGrowthConfig

Screen Shot 2021-09-27 at 5.33.23 PM.png (1×2 px, 237 KB)

vs site admins
Screen Shot 2021-09-27 at 5.33.56 PM.png (1×2 px, 341 KB)

Per @Etonkovidova's request, I checked it at few production wikis, and it works as expected. The link to the banner page is red when the banner was not yet created, which is likely okay. Closing!