logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

Wikimedia.xml (3812B)


  1. <!--
  2. Wikipedia and other Wikimedia Foundation wikis previously had no real HTTPS support, and
  3. URLs had to be rewritten to https://secure.wikimedia.org/$wikitype/$language/ . This is no
  4. longer the case, see https://blog.wikimedia.org/2011/10/03/native-https-support-enabled-for-all-wikimedia-foundation-wikis/ ,
  5. so this file is a lot simpler these days.
  6. Mixed content:
  7. - Images, on:
  8. - stats.wikimedia.org from upload.wikimedia.org *
  9. - stats.wikimedia.org from wikimediafoundation.org *
  10. * Secured by us
  11. -->
  12. <ruleset name="Wikimedia">
  13. <target host="enwp.org" />
  14. <target host="frwp.org" />
  15. <target host="mediawiki.org" />
  16. <target host="www.mediawiki.org" />
  17. <target host="wikimedia.org" />
  18. <target host="*.wikimedia.org" />
  19. <exclusion pattern="^http://(?:apt|cs|cz|parsoid-lb\.eqiad|status|torrus|ubuntu)\.wikimedia\.org" />
  20. <!-- https://mail1.eff.org/pipermail/https-everywhere-rules/2012-June/001189.html -->
  21. <exclusion pattern="^http://lists\.wikimedia\.org/pipermail(?:$|/)" />
  22. <target host="wikimediafoundation.org" />
  23. <target host="www.wikimediafoundation.org" />
  24. <!-- Wikimedia projects (also some wikimedia.org subdomains) -->
  25. <target host="wikibooks.org" />
  26. <target host="*.wikibooks.org" />
  27. <target host="wikidata.org" />
  28. <target host="*.wikidata.org" />
  29. <target host="wikinews.org" />
  30. <target host="*.wikinews.org" />
  31. <target host="wikipedia.org" />
  32. <target host="*.wikipedia.org" />
  33. <target host="wikiquote.org" />
  34. <target host="*.wikiquote.org" />
  35. <target host="wikisource.org" />
  36. <target host="*.wikisource.org" />
  37. <target host="wikiversity.org" />
  38. <target host="*.wikiversity.org" />
  39. <target host="wikivoyage.org" />
  40. <target host="*.wikivoyage.org" />
  41. <target host="wiktionary.org" />
  42. <target host="*.wiktionary.org" />
  43. <!-- Wikimedia chapters -->
  44. <target host="wikimedia.ca" />
  45. <target host="www.wikimedia.ca" />
  46. <!-- Wikimedia Tool Labs -->
  47. <target host="tools.wmflabs.org" />
  48. <target host="icinga.wmflabs.org" />
  49. <target host="ganglia.wmflabs.org" />
  50. <!-- Not secured by server:
  51. -->
  52. <!--securecookie host="^\.wiki(books|ipedia)\.org$" name="^GeoIP$" /-->
  53. <securecookie host="^^\.wik(?:ibooks|idata|imedia|inews|ipedia|iquote|isource|iversity|ivoyage|tionary)\.org$" name="^GeoIP$" />
  54. <securecookie host="^([^@:/]+\.)?wik(ibooks|idata|inews|ipedia|iquote|isource|iversity|ivoyage|tionary)\.org$" name=".*" />
  55. <securecookie host="^(species|commons|meta|incubator|wikitech).wikimedia.org$" name=".*" />
  56. <securecookie host="^(?:www\.)?mediawiki\.org$" name=".*" />
  57. <securecookie host="^wikimediafoundation.org$" name=".*" />
  58. <rule from="^http://(en|fr)wp\.org/"
  59. to="https://$1.wikipedia.org/wiki/" />
  60. <rule from="^http://(?:www\.)?mediawiki\.org/"
  61. to="https://www.mediawiki.org/" />
  62. <rule from="^https?://download\.wikipedia\.org/"
  63. to="https://dumps.wikimedia.org/" />
  64. <rule from="^https?://(download|dataset2|sitemap)\.wikimedia\.org/"
  65. to="https://dumps.wikimedia.org/" />
  66. <rule from="^https?://(labs-ns[01]|virt0)\.wikimedia\.org/"
  67. to="https://wikitech.wikimedia.org/" />
  68. <rule from="^https?://noboard\.chapters\.wikimedia\.org/"
  69. to="https://noboard-chapters.wikimedia.org/" />
  70. <rule from="^https?://wg\.en\.wikipedia\.org/"
  71. to="https://wg-en.wikipedia.org/" />
  72. <rule from="^https?://arbcom\.(de|en|fi|nl)\.wikipedia\.org/"
  73. to="https://arbcom-$1.wikipedia.org/" />
  74. <rule from="^http://([^@:/]+\.)?wik(ibooks|idata|imedia|inews|ipedia|iquote|isource|iversity|ivoyage|tionary)\.org/"
  75. to="https://$1wik$2.org/" />
  76. <rule from="^http://(www\.)?wikimediafoundation\.org/"
  77. to="https://$1wikimediafoundation.org/" />
  78. <rule from="^http://(www\.)?wikimedia\.ca/"
  79. to="https://wikimedia.ca/" />
  80. <rule from="^http://([^@:/]+)\.wmflabs\.org/"
  81. to="https://$1.wmflabs.org/" />
  82. </ruleset>