The "device" settings for a centralnotice banner e.g. https://meta.wikimedia.org/wiki/Special:CentralNoticeBanners/edit/wikimania2026scholarships are confusing and make outdated assumptions. See the relevant code here
- Anyone using the desktop sites will see banners with (desktop) selected, regardless of their device (see also T122793)
- The other settings only affect the mobile versions of the sites (mobilefrontend)
- (ipad) now only selects very old ipads. iPads have used Mac OS in their user agent since iOS 13 in 2019
- iPads also now see the desktop site by default, so wouldn't be affected by this setting
- T153225 - the link to the code explaining any of this has been broken forever...
I think it's worth just cutting this back to a simple "desktop site" / "mobile site" (while further encouraging responsive banners which can work on both). The only use case I can think of for needing Android/iOS targeting would be advertising a native app for one or other systems. And doing that is rare enough that we could just do it with in-banner javascript to check the user agent.
