Page MenuHomePhabricator

[hewiki-wmf.17] Growth-homepage-banner displays blank due to transcluded empty MediaWiki message
Closed, ResolvedPublic

Description

  • On hewiki wmf.17 go Special:Homepage - the banner (Growth-homepage-banner) is displayed empty:

Screen Shot 2024-08-12 at 1.43.36 PM.png (1×2 px, 607 KB)

What should happen:

  • when Growth-homepage-banner is empty or contains references to deleted or empty messages/templates etc, the empty banner should not be present on Special:Homepage.

Notes:

  • I checked in betalabs
    • simple templates and MediaWiki transcluded messages would be displayed correctly onon MediaWiki:Growth-homepage-banner
    • non-existing templates/MediaWiki messages transcluded in MediaWiki:Growth-homepage-banner would be presented as red links

Steps to reproduce in betalabs:

  • On MediaWiki:Growth-homepage-banner add the following: {{MediaWiki:Nonexistent}}
  • Create MediaWiki:Nonexistent and add some content
  • the content of MediaWiki:Nonexistent will be perfectly displayed in the banner
  • remove the content of MediaWiki:Nonexistent
  • Growth-homepage-banner will be displayed blank

Screen Shot 2024-08-12 at 2.28.52 PM.png (352×1 px, 33 KB)

Event Timeline

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

Interesting!
Given that we will replace this banner in the future with the Community Updates module T360485: [EPIC] Newcomer homepage: Community updates module (FY23/24 WE1.3 / FY24/25 SDS2.1.3) , we probably don't want to spend too much time on this.

Would and edit to remove {{מדיה ויקי:Anonnotice}} from the MediaWiki:Growth-homepage-banner fix this?

Would and edit to remove {{מדיה ויקי:Anonnotice}} from the MediaWiki:Growth-homepage-banner fix this?

Yes, blanking or deleting MediaWiki:Growth-homepage-banner should be enough.

Not getting any answer, I blanked the page. The banner is not shown anymore.

Etonkovidova claimed this task.

Not getting any answer, I blanked the page. The banner is not shown anymore.

Thx, @Trizek-WMF! The task is closed.