Effectively - do not show default Baby Globe state, and show Baby Globe only when the page is assigned to "special Baby Globe" (applying predefined set, extra allow, extra block normally)
Description
Details
Related Objects
- Mentioned In
- T416362: Add Baby Globe click interactions
- Mentioned Here
- T416362: Add Baby Globe click interactions
Event Timeline
Change #1238444 had a related patch set uploaded (by ATitkov; author: ATitkov):
[mediawiki/extensions/WP25EasterEggs@master] Add configuration variable to control default companion visibility
Manual testing guide
Scenario 1: Default State Disabled (Standard Behavior)
- set $wgWp25EasterEggsEnableDefaultState = false; in LocalSettings.php (or ensure it is not set, as it defaults to false)
- set "Global filter" to Display everywhere in Community Configuration
- visit a random page without specific configuration (e.g. Random_Page)
- verify NO companion classes are present (neither wp25eastereggs-companion-enabled nor state-specific classes)
- configure a specific page (e.g. Test_Page) to have a companion (e.g. confetti via "Additionally allow on pages")
- visit Test_Page
- verify classes wp25eastereggs-companion-enabled and wp25eastereggs-companion-confetti are present
Scenario 2: Default State Enabled
- set $wgWp25EasterEggsEnableDefaultState = true; in LocalSettings.php
- set "Global filter" to Display everywhere in Community Configuration
- visit a random page without specific configuration (e.g. Random_Page)
- verify class wp25eastereggs-companion-enabled is present (default companion shown)
- configure a specific page (e.g. Test_Page) to have a companion (e.g. confetti via "Additionally allow on pages")
- visit Test_Page
- verify classes wp25eastereggs-companion-enabled and wp25eastereggs-companion-confetti are present
Change #1238444 merged by jenkins-bot:
[mediawiki/extensions/WP25EasterEggs@master] Add configuration variable to control default companion visibility
Change #1238843 had a related patch set uploaded (by Jdrewniak; author: ATitkov):
[mediawiki/extensions/WP25EasterEggs@wmf/1.46.0-wmf.15] Add configuration variable to control default companion visibility
Change #1238843 merged by jenkins-bot:
[mediawiki/extensions/WP25EasterEggs@wmf/1.46.0-wmf.15] Add configuration variable to control default companion visibility
Mentioned in SAL (#wikimedia-operations) [2026-02-11T23:14:22Z] <jdrewniak@deploy2002> jdrewniak: Backport for [[gerrit:1238839|Localisation updates from https://translatewiki.net.]], [[gerrit:1238840|Use HashConfig in tests instead of mocking it]], [[gerrit:1238841|Add Baby Globe click interactions (T416362)]], [[gerrit:1238842|Localisation updates from https://translatewiki.net.]], [[gerrit:1238843|Add configuration variable to control default companion visibility (T417076)]], [[