Skip to content
This repository was archived by the owner on Jul 5, 2018. It is now read-only.

Commit ace8519

Browse files
committed
Merge pull request #261 from jdlrobson/uploadproblem
don't add desktop upload category to every upload
2 parents 5ca0936 + ede99d1 commit ace8519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ <h3><msg key="confirm-license-title" /></h3>
167167

168168
[//commons.wikimedia.org/wiki/Special:UploadWizard?campaign=wlm-<%= encodeURIComponent(descData.monument.country) %>&id=<%= encodeURIComponent(descData.monument.id) %>&categories=<%
169169
var allCats = descData.cats;
170-
allCats.push('Mobile to desktop upload');
171170
var encodedCats = _.map( allCats, function( cat ) {
172171
return encodeURIComponent( cat );
173172
} );
173+
encodedCats.push( 'Mobile%20to%20desktop%20upload' );
174174
print(encodedCats.join("|"));
175175
%> {{upload-more-photos-of-this-monument}}]
176176

0 commit comments

Comments
 (0)