Page MenuHomePhabricator

Wikitech showing Wikipedia CentralNotice banners
Closed, ResolvedPublic

Description

To reproduce:

Expected result:

Actual result:

  • See a CentralNotice banner

We know this is banners targeted at Wikipedia projects, since it happened yesterday with fundraising banners which are only ever targeted at Wikipedia. I did fix fundraising banners to hide them if loaded on Wikitech, but other banners can still be shown.

We could do the same as T270308: API portal showing Wikipedia CentralNotice banners and hide CentralNotice banners on Wikitech. But it would probably be better to add it as a proper target site if possible

Event Timeline

AKanji-WMF moved this task from Triage to DRI Backlog on the Fundraising-Backlog board.

Change #1080780 had a related patch set uploaded (by Ejegg; author: Ejegg):

[operations/mediawiki-config@master] Make wikitech a target for CentralNotice banners

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

Change #1080780 merged by jenkins-bot:

[operations/mediawiki-config@master] Make wikitech a target for CentralNotice banners

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

Mentioned in SAL (#wikimedia-operations) [2024-10-16T20:17:00Z] <jhuneidi@deploy2002> Started scap sync-world: Backport for [[gerrit:1080780|Make wikitech a target for CentralNotice banners (T377030)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-16T20:18:50Z] <jhuneidi@deploy2002> ejegg, jhuneidi: Backport for [[gerrit:1080780|Make wikitech a target for CentralNotice banners (T377030)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-16T20:26:23Z] <jhuneidi@deploy2002> Finished scap sync-world: Backport for [[gerrit:1080780|Make wikitech a target for CentralNotice banners (T377030)]] (duration: 10m 02s)

Ejegg subscribed.

Hi @Pcoombe, I just got a settings patch deployed to add wikitech as a separate target for CentralNotice. Let me know if it works for you!

jeremyb subscribed.

@Ejegg

looks good to me. I saw no banner there and then added Wikitech to an active campaign and then removed Wikitech from campaign and was still seeing it and then didn't see it and then deleted impressiondiet from session data locally in my browser and then saw it again (not in allocation but still within the 10 minute caching period) then waited for 10 minutes to expire and deleted impressiondata again and then it really doesn't appear. then did another test to see what shows in allocation, turned same campaign on for Wikitech and showed up immediately in allocation and then removed Wikitech from campaign and disappeared immediately from allocation.

https://meta.wikimedia.org/wiki/Special:CentralNoticeLogs?log_type=campaignSettings&startDate=2024-10-17&startDate_timestamp=20241017000000&endDate=2024-10-18&endDate_timestamp=20241018000000&campaign=Wikidata_Day_NYC&user=jeremyb&centralnoticesubmit=Apply+filters

Looks good to me as well. Thanks @Ejegg, and thanks @jeremyb for testing!