I couldn't find a task for this here in Phabricator, so first I apologize if this is duplicated from another task in progress. But lately this action has been bothering me a lot especially in mobile browsing. It is noticed that this happens only in the wiki(s) of Miraheze, that, as much as without or with MobileFrontend and in all themes including the MinervaNeue pattern, something happens in the navigation that makes you go to the desktop theme without the your permission, getting in the way a lot. Noting that this happens especially when trying to research something. I've never seen anyone quoting it, despite it being 'exclusive' to Miraheze. A remedy to this would be perfect for the satisfaction of visitors. Let's take an example from the wiki currently managed by me, which, when switching pages to a heavy one, the mobile theme changes itself to the desktop, as stated above.
Revisions and Commits
Yes that was my first thoughts as well. It could be an issue with your browser @YellowFrogger.
I assure you that it is not any browser error or cookies or anything related. The explanation for this is difficult because I've already tested it with other MediaWiki wikis, but this only happens on Miraheze-hosted wikis. You can analyze it yourself. It would be great if some system wizard here, look for something that causes this, or even solve it. I've already done a test in two browsers, and the same happens with other devices.
Can you provide exact reproduction steps, such as pages visited in between the switch, and the exact actions you took?
@Universal_Omega Please do it yourself. On mobile, when doing a search, the theme automatically switches to the desktop theme abruptly and unintentionally. This doesn't happen on small pages, it happens on large pages or in wiki search.
I don't believe this happens just for me. I invite the automatic subscribers of this task to do the same (On cell phone (or mobile) click on that gray magnifying glass, and do a search even without characters). Theme will stay desktop. I guarantee. I just need to make a video showing this, to prove it.
Partial repro. Visiting a wiki using some sort of mobile responsive features loads fine. Skin remains mobile throughout search (from tapping search icon to entering search terms). Site displays desktop for results. This may be intended behavior, though, as it uses Special:Search. Clicking results returns to mobile version.
Firefox for Android 95.0.14, Android 9, Samsung Galaxy S8
Search results on Special:Search being desktop I think is intentional behaviour. Thanks for the info.
If it's intentional, something probably causes it. To extend the above stub, this also happens when we go to very heavy pages, and especially when we are logged in, annoying.
@Universal_Omega , could you help this, to see the function causing this, because I think it's public utility, this can be good or bad (bad for me). Or elevate that to an RfC to see community votes?
Intended behavior indicates that it is working properly when that happens. If search results displaying in desktop mode is determined to be intended behavior, that means everything is working properly when search changes to desktop mode. If this is the case, there is nothing wrong with the function of the features, and therefore nothing to fix.
An RfC is not appropriate since there is nothing we can do even if it passed. I'm almost certain this is intended behavior.
You need to find out more about it here (it doesn't just happen when you go researching something). If it is intentional, I object so, per my reasons cited here. This for me, hinders more than helps. First, the theme is no longer responsive.
Although I just tried this myself again, and I still don't understand the issue, when using the mobile version (through MobileFrontend/MinervaNeue) Special:Search is in mobile version.
I’ve actually experienced this a lot, but it seems to be the way it works, either with cookies, or analyzing the screen resolution, and based on that, using the set mobile skin. If it is the latter (which I believe it is), it would not be changeable, as it is the intended functionality (afaik).
OK, I looked into this a bit:
- It happens only with MinervaNeue
- It happens only for anonymous users
- It is inconsistent:
- it happens on https://meta.miraheze.org/w/index.php?search=Test&title=Special%3ASearch but not on https://meta.miraheze.org/w/index.php?title=Special%3ASearch&search=Test — notice the switched position of search and title.
This does seem to be somewhat of a valid issue, however I'm not sure what we can really do about it. It is some sort of issue with cookies not being set for anonymous users correctly or something similar it would seem.
@Bukkit this has probably already shown that it's not cookies error, it happens with clean browsers. And, @Universal_Omega this doesn't just happen with Minerva, it happens with Timeless, among other mobile themes. 2: Happens to logged in users as well 3: heavy pages usually take a while to load and in the end, "fall over" with it (desktop theme being shown). This is a readability issue.
@Bukkit Also, it doesn't happen with WMF wikis and any other type of wiki that uses MediaWiki software. Only Miraheze.
I am no longer able to reproduce this myself as I could before as mentioned above. So going to go ahead and close this task as resolved.
I wish it was resolved.
I've been experiencing this a lot lately.
MinervaNeue mobile, anonymous, Miraheze only.
It seems to be random.
Yea, @Ora. But this really seems to have been resolved (partially because some pages still do this, I think the same thing happens (useformat=mobile). Does it still happen to you?
I confirmed it was fixed, the previous way I replicated it I was no longer able to. It doesn't happen to me at all anymore, and if it does it might be an issue with your browser or something else.