Jump to content

Policy talk:Wikimedia Foundation User-Agent Policy

From Wikimedia Foundation Governance Wiki
(Redirected from Policy talk:User-Agent policy)
Latest comment: 2 months ago by Neil Shah-Quinn (WMF) in topic Copyedits and small updates

Policy:User-Agent policy/2

I probably wouldn't translate this text ' ref User-Agent: - Wikitech-l - lists.wikimedia.orgref ' between ref tags Rebulka (talk) 17:23, 17 October 2024 (UTC)Reply

 Done - Thank you! --Gregory Varnum (Wikimedia Foundation) [he/him] (talk) 17:36, 17 October 2024 (UTC)Reply

Policy:User-Agent policy/7

I probably wouldn't translate this text ' refAPI:FAQ - MediaWikiref ' between ref tags

tags /tvar for 'api.php' Rebulka (talk) 17:27, 17 October 2024 (UTC)Reply

 Done - Thank you! --Gregory Varnum (Wikimedia Foundation) [he/him] (talk) 17:36, 17 October 2024 (UTC)Reply

Policy:User-Agent policy/8

I probably wouldn't translate this text ' ref [Wikitech-l] User-Agent: ref tags

tags /tvar for ' "curl", "lwp", "Python-urllib" ' Rebulka (talk) 17:35, 17 October 2024 (UTC)Reply

 Done - thank you! --Gregory Varnum (Wikimedia Foundation) [he/him] (talk) 17:39, 17 October 2024 (UTC)Reply

Cross domain jQuery ajax request does not send Api-User-Agent header

I have a JavaScript gadget hosted on wikidata.org (d:User:Bamyers99/PhotoNearby.js) that makes a call to commons.wikimedia.org. The Api-User-Agent header is not sent by the jQuery ajax request. Any suggestions? Bamyers99 (talk) 02:09, 25 March 2025 (UTC)Reply

Copyedits and small updates

Remove the notice "This page is purely informative..."

Change first sentence to: "All HTTP requests to Wikimedia sites must have an accurate and informative User-Agent header."

Change second sentence ("This was an operative decision") to "This policy was adopted in February 2010" and move to a new background section.

Move third sentence ("The rationale is..without benefiting the projects") to the new background section.

Update last paragraph in intro section ("As of 2015...specific cases as needed.") as follows: "As of 2025, Wikimedia sites do not automatically reject all requests that violate this policy. Rather, the policy is enforced in specific cases as needed."

Remove the first paragraph in the code examples section ("On Wikimedia wikis...may have similar policies.") This duplicates other information and is inaccurate (requests may fail, but will not necessarily do so).

Background: I was reading this page and was confused about whether blank or non-descriptive user agents are automatically blocked. I got confirmation from SRE that they are not, so I wanted to update this page to confirm. I also wanted to do a little cleanup while I'm at it 😊 Neil Shah-Quinn (WMF) (talk) 19:48, 28 March 2025 (UTC)Reply