Chmarkine has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/153026

Change subject: Use protocol relative URLs for some links on Transparency 
Report pages
......................................................................

Use protocol relative URLs for some links on Transparency Report pages

Some links on the Wikimedia Foundation Transparency Report have hardcoded
"http:" as there protocol. I changed them to protocol relative links.
The links with hardcoded https are not changed to protocol relative.

Change-Id: Id2b651cb64cf803bf87cb7d5e25ea350a944474f
---
M build/content.html
M build/faq.html
M build/index.html
M build/javascripts/content.js
M build/privacy.html
5 files changed, 18 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/TransparencyReport 
refs/changes/26/153026/1

diff --git a/build/content.html b/build/content.html
index f01f626..7a59750 100644
--- a/build/content.html
+++ b/build/content.html
@@ -75,7 +75,7 @@
   <blockquote>
     <p>We change people through conversation, not through censorship.</p>
     <footer>
-      <a href="http://commons.wikimedia.org/wiki/File:Jay-Z_2011.jpg";><img 
src="/images/quote_jay.png"></a>
+      <a href="//commons.wikimedia.org/wiki/File:Jay-Z_2011.jpg"><img 
src="/images/quote_jay.png"></a>
       <p><a href='https://en.wikipedia.org/wiki/Jay-Z'>Jay 
Z</a><small>Musician (<a 
href='https://en.wikipedia.org/wiki/Decoded_%28book%29'>2010</a>)</small></p>
     </footer>
   </blockquote>
@@ -195,7 +195,7 @@
     <h3>
       The Classics<br><small>November 2013</small>
     </h3>
-    <p>A publishing company sent us a takedown request concerning four famous 
works on <a href='https://wikisource.org/'>Wikisource</a>: French translations 
of <a href='https://en.wikipedia.org/wiki/Jane_Austen'>Jane Austen's</a> <a 
href='http://fr.wikisource.org/wiki/Les_Cinq_Filles_de_Mrs_Bennet'><em>Pride 
and Prejudice</em></a> and <a 
href='http://fr.wikisource.org/wiki/Persuasion'><em>Persuasion</em></a>, a 
French translation of <a 
href='https://en.wikipedia.org/wiki/Arthur_Conan_Doyle'>Arthur Conan 
Doyle's</a> <a 
href='https://fr.wikisource.org/wiki/Les_Aventures_de_Sherlock_Holmes'><em>The 
Adventures of Sherlock Holmes</em></a>, and <a 
href='https://en.wikipedia.org/wiki/Jean_de_la_Fontaine'>Jean de la 
Fontaine’s</a> <a 
href='http://fr.wikisource.org/wiki/Fables_de_La_Fontaine,_livres_I-III'><em>Fables</em></a>.
 We immediately noticed the peculiarity with the request: all four original 
works (and likely their French translations as well) were old enough to have 
fallen into the <a href='https://en.wikipedia.org/wiki/Public_domain'>public 
domain</a>. When we alerted the company to this point, it rescinded the 
takedown notice.</p>
+    <p>A publishing company sent us a takedown request concerning four famous 
works on <a href='https://wikisource.org/'>Wikisource</a>: French translations 
of <a href='https://en.wikipedia.org/wiki/Jane_Austen'>Jane Austen's</a> <a 
href='//fr.wikisource.org/wiki/Les_Cinq_Filles_de_Mrs_Bennet'><em>Pride and 
Prejudice</em></a> and <a 
href='//fr.wikisource.org/wiki/Persuasion'><em>Persuasion</em></a>, a French 
translation of <a 
href='https://en.wikipedia.org/wiki/Arthur_Conan_Doyle'>Arthur Conan 
Doyle's</a> <a 
href='https://fr.wikisource.org/wiki/Les_Aventures_de_Sherlock_Holmes'><em>The 
Adventures of Sherlock Holmes</em></a>, and <a 
href='https://en.wikipedia.org/wiki/Jean_de_la_Fontaine'>Jean de la 
Fontaine’s</a> <a 
href='//fr.wikisource.org/wiki/Fables_de_La_Fontaine,_livres_I-III'><em>Fables</em></a>.
 We immediately noticed the peculiarity with the request: all four original 
works (and likely their French translations as well) were old enough to have 
fallen into the <a href='https://en.wikipedia.org/wiki/Public_domain'>public 
domain</a>. When we alerted the company to this point, it rescinded the 
takedown notice.</p>
   </div>
 </div>
 
@@ -265,16 +265,16 @@
                                        <ul>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Transparency_Report";>Wiki
 Version</a></li>
                                                <li><a 
href="/data/data_aug2014.ods">Download Data</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Privacy_policy";>Privacy 
Policy</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Privacy_policy">Privacy Policy</a></li>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Data_retention_guidelines";>Data Retention 
Guidelines</a></li>
                                        </ul>
                                </div>
 
                                <div class="col-md-2">
                                        <ul>
-                                               <li><a 
href="http://wikimediafoundation.org";>About Us</a></li>
+                                               <li><a 
href="//wikimediafoundation.org">About Us</a></li>
                                                <li><a 
href="https://blog.wikimedia.org/";>Blog</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Terms_of_Use";>Terms of Use</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a></li>
                                        </ul>
                                </div>
 
diff --git a/build/faq.html b/build/faq.html
index c73575b..4e106eb 100644
--- a/build/faq.html
+++ b/build/faq.html
@@ -170,13 +170,13 @@
 
        <a name="dmca_valid_proper"></a>
        <h2 class="question"><img src="/images/chevron.svg"><span>What makes a 
DMCA takedown notice 'valid' or 'proper'?</span></h2>
-       <div class="answer"><p>The DMCA has several <a 
href='https://en.wikipedia.org/wiki/Online_Copyright_Infringement_Liability_Limitation_Act#Notice_from_copyright_owner'>formal
 requirements</a> for notices. However, our evaluation isn’t over when we 
receive a notice that meets all of these requirements. We will also analyze the 
copyright eligibility of the work being infringed, whether the allegedly 
infringing material actually infringes, and whether the allegedly infringing 
material is a <a href='https://en.wikipedia.org/wiki/Fair_use'>fair use</a> of 
the requester’s work. For more information, see our <a 
href='http://wikimediafoundation.org/wiki/DMCA_Policy'>DMCA 
Policy</a>.</p></div>
+       <div class="answer"><p>The DMCA has several <a 
href='https://en.wikipedia.org/wiki/Online_Copyright_Infringement_Liability_Limitation_Act#Notice_from_copyright_owner'>formal
 requirements</a> for notices. However, our evaluation isn’t over when we 
receive a notice that meets all of these requirements. We will also analyze the 
copyright eligibility of the work being infringed, whether the allegedly 
infringing material actually infringes, and whether the allegedly infringing 
material is a <a href='https://en.wikipedia.org/wiki/Fair_use'>fair use</a> of 
the requester’s work. For more information, see our <a 
href='//wikimediafoundation.org/wiki/DMCA_Policy'>DMCA Policy</a>.</p></div>
 
        <hr>
 
        <a name="transparent_dmca"></a>
        <h2 class="question"><img src="/images/chevron.svg"><span>How are you 
transparent about particular DMCA removals besides in this transparency 
report?</span></h2>
-       <div class="answer"><p>We record every DMCA takedown request that 
results in removal of content on <a 
href='http://wikimediafoundation.org/wiki/Category:DMCA'>our website</a>. In 
addition, every DMCA removal is submitted to the <a 
href='http://www.chillingeffects.org/'>Chilling Effects Clearinghouse</a> 
(Chilling Effects), a web archive managed by the <a 
href='https://www.eff.org/'>Electronic Frontier Foundation</a> and several law 
school clinics. By collecting takedown notices from a variety of sources, 
Chilling Effects provides a large set of data for analysis and allows 
recipients and senders of takedown notices to learn more about how the DMCA 
operates in the current online environment.</p></div>
+       <div class="answer"><p>We record every DMCA takedown request that 
results in removal of content on <a 
href='//wikimediafoundation.org/wiki/Category:DMCA'>our website</a>. In 
addition, every DMCA removal is submitted to the <a 
href='http://www.chillingeffects.org/'>Chilling Effects Clearinghouse</a> 
(Chilling Effects), a web archive managed by the <a 
href='https://www.eff.org/'>Electronic Frontier Foundation</a> and several law 
school clinics. By collecting takedown notices from a variety of sources, 
Chilling Effects provides a large set of data for analysis and allows 
recipients and senders of takedown notices to learn more about how the DMCA 
operates in the current online environment.</p></div>
 
        <hr>
 
@@ -234,16 +234,16 @@
                                        <ul>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Transparency_Report";>Wiki
 Version</a></li>
                                                <li><a 
href="/data/data_aug2014.ods">Download Data</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Privacy_policy";>Privacy 
Policy</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Privacy_policy">Privacy Policy</a></li>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Data_retention_guidelines";>Data Retention 
Guidelines</a></li>
                                        </ul>
                                </div>
 
                                <div class="col-md-2">
                                        <ul>
-                                               <li><a 
href="http://wikimediafoundation.org";>About Us</a></li>
+                                               <li><a 
href="//wikimediafoundation.org">About Us</a></li>
                                                <li><a 
href="https://blog.wikimedia.org/";>Blog</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Terms_of_Use";>Terms of Use</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a></li>
                                        </ul>
                                </div>
 
diff --git a/build/index.html b/build/index.html
index 47d828c..2f3420a 100644
--- a/build/index.html
+++ b/build/index.html
@@ -49,7 +49,7 @@
 
 <div class="col-md-12">
        <p class="lead">
-               <a target='_blank' 
href='http://wikimediafoundation.org/wiki/Vision'>Our mission</a> is to provide 
free access to the sum of all human knowledge. We believe that protecting user 
privacy and defending against censorship are essential to the success of that 
mission. Every year, we receive requests from governments, individuals, and 
organizations to disclose information about our users or to delete or alter 
content on our projects. Some are legitimate. Some are not.<br /> <br />The 
purpose of this transparency report is to shed light on the requests we receive 
and how we respond to them.
+               <a target='_blank' 
href='//wikimediafoundation.org/wiki/Vision'>Our mission</a> is to provide free 
access to the sum of all human knowledge. We believe that protecting user 
privacy and defending against censorship are essential to the success of that 
mission. Every year, we receive requests from governments, individuals, and 
organizations to disclose information about our users or to delete or alter 
content on our projects. Some are legitimate. Some are not.<br /> <br />The 
purpose of this transparency report is to shed light on the requests we receive 
and how we respond to them.
        </p>
 </div>
 
@@ -115,16 +115,16 @@
                                        <ul>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Transparency_Report";>Wiki
 Version</a></li>
                                                <li><a 
href="/data/data_aug2014.ods">Download Data</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Privacy_policy";>Privacy 
Policy</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Privacy_policy">Privacy Policy</a></li>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Data_retention_guidelines";>Data Retention 
Guidelines</a></li>
                                        </ul>
                                </div>
 
                                <div class="col-md-2">
                                        <ul>
-                                               <li><a 
href="http://wikimediafoundation.org";>About Us</a></li>
+                                               <li><a 
href="//wikimediafoundation.org">About Us</a></li>
                                                <li><a 
href="https://blog.wikimedia.org/";>Blog</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Terms_of_Use";>Terms of Use</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a></li>
                                        </ul>
                                </div>
 
diff --git a/build/javascripts/content.js b/build/javascripts/content.js
index 3bf687a..b0e56ea 100644
--- a/build/javascripts/content.js
+++ b/build/javascripts/content.js
@@ -419,7 +419,7 @@
                                .append( 'text' )
                                .on( 'click', function ( d ) {
                                        if ( d.url !== "" ) {
-                                               window.open( 'http://' + d.url 
);
+                                               window.open( '//' + d.url );
                                        }
                                } )
                                .attr( 'x', '-100' )
diff --git a/build/privacy.html b/build/privacy.html
index a532b41..031a50e 100644
--- a/build/privacy.html
+++ b/build/privacy.html
@@ -213,16 +213,16 @@
                                        <ul>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Transparency_Report";>Wiki
 Version</a></li>
                                                <li><a 
href="/data/data_aug2014.ods">Download Data</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Privacy_policy";>Privacy 
Policy</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Privacy_policy">Privacy Policy</a></li>
                                                <li><a 
href="https://meta.wikimedia.org/wiki/Data_retention_guidelines";>Data Retention 
Guidelines</a></li>
                                        </ul>
                                </div>
 
                                <div class="col-md-2">
                                        <ul>
-                                               <li><a 
href="http://wikimediafoundation.org";>About Us</a></li>
+                                               <li><a 
href="//wikimediafoundation.org">About Us</a></li>
                                                <li><a 
href="https://blog.wikimedia.org/";>Blog</a></li>
-                                               <li><a 
href="http://wikimediafoundation.org/wiki/Terms_of_Use";>Terms of Use</a></li>
+                                               <li><a 
href="//wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a></li>
                                        </ul>
                                </div>
 

-- 
To view, visit https://gerrit.wikimedia.org/r/153026
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2b651cb64cf803bf87cb7d5e25ea350a944474f
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/TransparencyReport
Gerrit-Branch: master
Gerrit-Owner: Chmarkine <chmark...@hotmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to