A minimal user-agent parser for client-side JavaScript. Bundled with MediaWiki core.
Details
Aug 17 2024
Aug 16 2024
Jul 11 2023
Feb 2 2023
You are right. Might I suggest that could be renamed #mediawiki-jquery-client ? I thought it related to jquery upstream.
I don't think jQuery Client is what you think it is.
Jan 31 2023
No apparent relation to jquery-client plug-in. Untagging.
MDN says that the attribute is behind a flag in Firefox (and unsupported on Safari Desktop). When I enable the flag, I get autocapitalize="none" (intended behaviour here). It looks like this is an upstream browser issue, but changing the code to use attributes is probably best-practice in any case.
Link for testing. On Firefox for Windows, I seem to get the same autocapitalize=sentences.
Test wiki created on Patch demo by EpicPupper using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/e809a51a6a/w
Can reproduce.
Change 884935 had a related patch set uploaded (by EpicPupper; author: EpicPupper):
[mediawiki/skins/MinervaNeue@master] Fix search input autocapitalize property on Firefox
Feb 7 2022
As I understand it the methods we have cover most needs, and we don't plant to expand this further but instead want to discourage user agent sniffing.
May 3 2021
Feb 9 2021
Oct 8 2020
Oct 7 2020
Sep 29 2020
Sep 28 2020
Sep 24 2020
Sep 17 2020
Sep 16 2020
Sep 10 2020
Change 626200 merged by jenkins-bot:
[mediawiki/core@master] resources: Update jquery-client from 2.0.2 to 3.0.0
Sep 9 2020
Change 626200 had a related patch set uploaded (by Krinkle; owner: Jforrester):
[mediawiki/core@master] resources: Update jquery-client from 2.0.2 to 3.0.0
This may be fallout from f648197 removing the generic "iphone" and "ipad" browser-names? Which does mean that Ed caught this on the day it was committed, at least.
Change 626161 merged by jenkins-bot:
[jquery-client@master] Add support for Firefox for iOS (FxiOS)
Change 626161 had a related patch set uploaded (by Esanders; owner: Esanders):
[jquery-client@master] Add support for Firefox for iOS (FxiOS)
Chrome for iOS actually has a decent market share amongst our users, ~3% of mobile, so ~6-10% of iOS users: