Policy talk:Wikimedia Foundation User-Agent Policy
This page is for discussions related to the Policy:Wikimedia Foundation User-Agent Policy page. Please remember to:
| ![]() |
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)
Done - Thank you! --Gregory Varnum (Wikimedia Foundation) [he/him] (talk) 17:36, 17 October 2024 (UTC)
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)
Done - Thank you! --Gregory Varnum (Wikimedia Foundation) [he/him] (talk) 17:36, 17 October 2024 (UTC)
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)
Done - thank you! --Gregory Varnum (Wikimedia Foundation) [he/him] (talk) 17:39, 17 October 2024 (UTC)
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)
Copyedits and small updates
![]() | It is requested that an edit be made to the policy at Policy:Wikimedia Foundation User-Agent Policy. (edit · history · last · links · protection log)
This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to pages should only be used for edits that are either uncontroversial or already supported by the Wikimedia Foundation elsewhere. If the proposed edit might be controversial, please provide additional information on the basis for your request and links to any related discussions elsewhere. When the request has been completed or denied, please add the |
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)
Missing space
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The sentence starting with "If you run a bot, please send a User-Agent header identifying the bot with an identifier that isn't going to be confused with many other bots" should have a space before it, separating it from the reference after the previous sentence. TTWIDEE (talk) 20:00, 17 June 2025 (UTC)
Done Fixed, thanks for mentioning! Quiddity (WMF) (talk) 22:54, 18 June 2025 (UTC)