r110658 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110657‎ | r110658 | r110659 >
Date:14:51, 3 February 2012
Author:reedy
Status:ok
Tags:
Comment:
bugzilla.wm.o is https only, so point all links at https

translatewiki changed to protocol relative

Made CC links prot rel too

Bug 34190 - Use protocol-relative URLs for CC and Bugzilla
Modified paths:
  • /trunk/extensions/UploadWizard/UploadWizard.config.php (modified) (history)
  • /trunk/extensions/UploadWizard/UploadWizard.i18n.php (modified) (history)
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/UploadWizard.config.php
@@ -85,7 +85,7 @@
8686 'cc-by-sa-3.0' => array(
8787 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0',
8888 'icons' => array( 'cc-by', 'cc-sa' ),
89 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/'
 89+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/'
9090 ),
9191 'cc-by-sa-3.0-gfdl' => array(
9292 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-gfdl',
@@ -96,71 +96,71 @@
9797 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-at',
9898 'templates' => array( 'cc-by-sa-3.0-at' ),
9999 'icons' => array( 'cc-by', 'cc-sa' ),
100 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/at/'
 100+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/at/'
101101 ),
102102 'cc-by-sa-3.0-de' => array(
103103 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-de',
104104 'templates' => array( 'cc-by-sa-3.0-de' ),
105105 'icons' => array( 'cc-by', 'cc-sa' ),
106 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/de/'
 106+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/de/'
107107 ),
108108 'cc-by-sa-3.0-ee' => array(
109109 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-ee',
110110 'templates' => array( 'cc-by-sa-3.0-ee' ),
111111 'icons' => array( 'cc-by', 'cc-sa' ),
112 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/ee/'
 112+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/ee/'
113113 ),
114114 'cc-by-sa-3.0-es' => array(
115115 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-es',
116116 'templates' => array( 'cc-by-sa-3.0-es' ),
117117 'icons' => array( 'cc-by', 'cc-sa' ),
118 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/es/'
 118+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/es/'
119119 ),
120120 'cc-by-sa-3.0-hr' => array(
121121 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-hr',
122122 'templates' => array( 'cc-by-sa-3.0-hr' ),
123123 'icons' => array( 'cc-by', 'cc-sa' ),
124 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/hr/'
 124+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/hr/'
125125 ),
126126 'cc-by-sa-3.0-lu' => array(
127127 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-lu',
128128 'templates' => array( 'cc-by-sa-3.0-lu' ),
129129 'icons' => array( 'cc-by', 'cc-sa' ),
130 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/lu/'
 130+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/lu/'
131131 ),
132132 'cc-by-sa-3.0-nl' => array(
133133 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-nl',
134134 'templates' => array( 'cc-by-sa-3.0-nl' ),
135135 'icons' => array( 'cc-by', 'cc-sa' ),
136 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/nl/'
 136+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/nl/'
137137 ),
138138 'cc-by-sa-3.0-no' => array(
139139 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-no',
140140 'templates' => array( 'cc-by-sa-3.0-no' ),
141141 'icons' => array( 'cc-by', 'cc-sa' ),
142 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/no/'
 142+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/no/'
143143 ),
144144 'cc-by-sa-3.0-pl' => array(
145145 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-pl',
146146 'templates' => array( 'cc-by-sa-3.0-pl' ),
147147 'icons' => array( 'cc-by', 'cc-sa' ),
148 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/pl/'
 148+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/pl/'
149149 ),
150150 'cc-by-sa-3.0-ro' => array(
151151 'msg' => 'mwe-upwiz-license-cc-by-sa-3.0-ro',
152152 'templates' => array( 'cc-by-sa-3.0-ro' ),
153153 'icons' => array( 'cc-by', 'cc-sa' ),
154 - 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/ro/'
 154+ 'url' => '//creativecommons.org/licenses/by-sa/3.0/ro/'
155155 ),
156156 'cc-by-3.0' => array(
157157 'msg' => 'mwe-upwiz-license-cc-by-3.0',
158158 'icons' => array( 'cc-by' ),
159 - 'url' => 'http://creativecommons.org/licenses/by/3.0/'
 159+ 'url' => '//creativecommons.org/licenses/by/3.0/'
160160 ),
161161 'cc-zero' => array(
162162 'msg' => 'mwe-upwiz-license-cc-zero',
163163 'icons' => array( 'cc-zero' ),
164 - 'url' => 'http://creativecommons.org/publicdomain/zero/1.0/'
 164+ 'url' => '//creativecommons.org/publicdomain/zero/1.0/'
165165 ),
166166 'own-pd' => array(
167167 'msg' => 'mwe-upwiz-license-own-pd',
@@ -170,23 +170,23 @@
171171 'cc-by-sa-2.5' => array(
172172 'msg' => 'mwe-upwiz-license-cc-by-sa-2.5',
173173 'icons' => array( 'cc-by', 'cc-sa' ),
174 - 'url' => 'http://creativecommons.org/licenses/by-sa/2.5/'
 174+ 'url' => '//creativecommons.org/licenses/by-sa/2.5/'
175175 ),
176176 'cc-by-2.5' => array(
177177 'msg' => 'mwe-upwiz-license-cc-by-2.5',
178178 'icons' => array( 'cc-by' ),
179 - 'url' => 'http://creativecommons.org/licenses/by/2.5/'
 179+ 'url' => '//creativecommons.org/licenses/by/2.5/'
180180 ),
181181 'cc-by-sa-2.0' => array(
182182 'msg' => 'mwe-upwiz-license-cc-by-sa-2.0',
183183 'icons' => array( 'cc-by', 'cc-sa' ),
184 - 'url' => 'http://creativecommons.org/licenses/by-sa/2.0/'
 184+ 'url' => '//creativecommons.org/licenses/by-sa/2.0/'
185185
186186 ),
187187 'cc-by-2.0' => array(
188188 'msg' => 'mwe-upwiz-license-cc-by-2.0',
189189 'icons' => array( 'cc-by' ),
190 - 'url' => 'http://creativecommons.org/licenses/by/2.0/'
 190+ 'url' => '//creativecommons.org/licenses/by/2.0/'
191191 ),
192192 'fal' => array(
193193 'msg' => 'mwe-upwiz-license-fal',
@@ -422,10 +422,10 @@
423423 'feedbackPage' => '',
424424
425425 // Bugzilla page for UploadWizard bugs
426 - 'bugList' => 'http://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&component=UploadWizard&resolution=---&product=MediaWiki+extensions',
 426+ 'bugList' => 'https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&component=UploadWizard&resolution=---&product=MediaWiki+extensions',
427427
428428 // TranslateWiki page for help with translations
429 - 'translateHelp' => 'http://translatewiki.net/w/i.php?title=Special:Translate&group=ext-uploadwizard',
 429+ 'translateHelp' => '//translatewiki.net/w/i.php?title=Special:Translate&group=ext-uploadwizard',
430430
431431 // Title of page for alternative uploading form, e.g.:
432432 // 'altUploadForm' => 'Special:Upload',
Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php
@@ -4595,8 +4595,8 @@
45964596 'mwe-upwiz-too-many-files-text' => 'Μπορείτε να ανεβάσετε $1 {{PLURAL:$1|αρχείο|αρχεία}} ταυτόχρονα. Προσπαθήσατε να ανεβάσετε $2 {{PLURAL:$2|αρχείο|αρχεία}} συνολικά, άρα $3 {{PLURAL:$3|αρχείο έχει|αρχεία έχουν}} αφαιρεθεί.',
45974597 'mwe-upwiz-too-many-files' => 'Πάρα πολλά αρχεία.',
45984598 'mwe-upwiz-license-cc-by-sa-3.0' => 'Creative Commons Attribution ShareAlike 3.0 ([$2 legal code])',
4599 - 'mwe-upwiz-license-cc-by-sa-3.0-at' => 'Creative Commons Attribution ShareAlike 3.0 Αυστρία ([$2 http://creativecommons.org/licenses/by-sa/3.0/at/deed.el])',
4600 - 'mwe-upwiz-license-cc-by-sa-3.0-de' => 'Creative Commons Attribution ShareAlike 3.0 Γερμανία ([$2 http://creativecommons.org/licenses/by-sa/3.0/de/deed.el])',
 4599+ 'mwe-upwiz-license-cc-by-sa-3.0-at' => 'Creative Commons Attribution ShareAlike 3.0 Αυστρία ([$2 //creativecommons.org/licenses/by-sa/3.0/at/deed.el])',
 4600+ 'mwe-upwiz-license-cc-by-sa-3.0-de' => 'Creative Commons Attribution ShareAlike 3.0 Γερμανία ([$2 //creativecommons.org/licenses/by-sa/3.0/de/deed.el])',
46014601 'mwe-upwiz-license-cc-by-sa-3.0-ee' => 'Creative Commons Attribution ShareAlike 3.0 Εσθονία',
46024602 'mwe-upwiz-license-cc-by-sa-3.0-es' => 'Creative Commons Attribution ShareAlike 3.0 Ισπανία',
46034603 'mwe-upwiz-license-cc-by-sa-3.0-hr' => 'Creative Commons Attribution ShareAlike 3.0 Κροατία',
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
@@ -64,7 +64,7 @@
6565 var feedback = new mw.Feedback( {
6666 'title': new mw.Title( mw.UploadWizard.config['feedbackPage'] ),
6767 'dialogTitleMessageKey': 'mwe-upwiz-feedback-title',
68 - 'bugsLink': new mw.Uri( '//bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=UploadWizard' ),
 68+ 'bugsLink': new mw.Uri( 'https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=UploadWizard' ),
6969 'bugsListLink': new mw.Uri( mw.UploadWizard.config['bugList'] )
7070 } );
7171 var feedbackLink = $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-feedback-prompt',

Follow-up revisions

RevisionCommit summaryAuthorDate
r110660Make some more wmf related links prot rel...reedy14:55, 3 February 2012
r110670Make greek cc related licenses more like those of other languages, removing h...reedy17:39, 3 February 2012

Status & tagging log