Browse files

Merge branch 'wikipedia-newhttps' of github.com:catrope/https-everywh…

…ere into wikipedia-newhttps
  • Loading branch information...
2 parents 1f7a68b + c011e76 commit 8e6b60e1025ec92c199cf8c5b0a300e0c4c7bcd4 @catrope committed Oct 3, 2011
Showing with 9 additions and 5 deletions.
  1. +9 −5 src/chrome/content/rules/Wikipedia.xml
View
14 src/chrome/content/rules/Wikipedia.xml
@@ -1,7 +1,7 @@
<!-- Wikipedia and other Wikimedia Foundation wikis previously had no real HTTPS support, and
URLs had to be rewritten to https://secure.wikimedia.org/$wikitype/$language/ . This is no
- longer the case, see [TODO link to Ryan's blog post when published], so this file is a lot
- simpler these days. -->
+ longer the case, see https://blog.wikimedia.org/2011/10/03/native-https-support-enabled-for-all-wikimedia-foundation-wikis/ ,
+ so this file is a lot simpler these days. -->
<ruleset name="Wikipedia">
<target host="*.wikipedia.org" />
@@ -25,6 +25,7 @@
<target host="wikimediafoundation.org" />
<target host="www.wikimediafoundation.org" />
<target host="enwp.org" />
+ <target host="frwp.org" />
<!-- TODO: What exclusions do we need for mobile sites, if any? -->
<exclusion pattern="^http://(dumps|download|svn|noc)\.wikimedia\.org/"/>
@@ -35,11 +36,14 @@
<rule from="^http://([^@:/]+\.)?wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary|imedia)\.org/"
to="https://$1wik$2.org/" />
- <rule from="^http://(www\.)?mediawiki\.org/"
+ <rule from="^http://(www\.)?mediawiki\.org/"
to="https://$1mediawiki.org/" />
- <rule from="^http://(www\.)?wikimediafoundation\.org/"
+ <rule from="^http://(www\.)?wikimediafoundation\.org/"
to="https://$1wikimediafoundation.org/" />
<rule from="^http://enwp\.org/"
- to="https://en.wikipedia.org/" />
+ to="https://en.wikipedia.org/wiki/" />
+
+ <rule from="^http://frwp\.org/"
+ to="https://fr.wikipedia.org/wiki/" />
</ruleset>

0 comments on commit 8e6b60e

Please sign in to comment.