Jump to content

Citoid/Allowlisting

From Wikitech

So you'd like to allowlist Citoid, the service that retrieves citation metadata from external websites for use in Wikimedia citations?
That's great! Here's what you need to know:

Test

You can test if your website is accessible by citoid in the REST sandbox.

IPs

The Wikimedia Foundation (WMF) has allocated IP ranges. The ones you'll need to allowlist for citoid are:

For IPv4

208.80.152.0/22 

For IPv6

2620:0:860::/46 

These resolve to WMF controlled domains (*.wikimedia.org)

User-Agents

We use both citoid and Zotero to generate citations, so please allowlist both user-agents:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36 Citoid/WMF (mailto:noc@wikimedia.org)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36 ZoteroTranslationServer/WMF (mailto:noc@wikimedia.org)

The 'Citoid/WMF' and 'ZoteroTranslationServer/WMF' strings should be stable. The browsery-portion is inherited upstream from translation-server and may change.