Page MenuHomePhabricator

Upload Wizard rejects valid license templates
Closed, ResolvedPublic

Description

Illustrates the problem (see the red text, and the valid template code {{free screenshot}} it refers to)

The Upload Wizard ( http://commons.wikimedia.org/wiki/Special:UploadWizard ) invites the uploader to input a specific license, but then rejects valid license templates. Here is a screenshot illustrating the issue: https://commons.wikimedia.org/wiki/File:Upload_Wizard_-_No_valid_wikitext.png


Version: master
Severity: normal

Attached:

no_valid_wikitext.png (472×900 px, 57 KB)

Details

Reference
bz65229

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:22 AM
bzimport added a project: UploadWizard.
bzimport set Reference to bz65229.
bzimport added a subscriber: Unknown Object (MLST).

(I meant to note: the "Preview" does render fine, so in that respect the Upload Wizard is capable of recognizing this as valid wikitext.)

UploadWizard goes up 5 steps on the parent category chain of the template and expects to find Category:License tags, but does not. This is almost correct, as {{free screenshot}} is not really a license template, but it can take a template name as a parameter, so I suppose we should treat it similarly to {{self}}.

Thanks, this makes sense.

I would suggest the error message can be improved (perhaps simply to includee the text you provided above). As it is, even as a pretty well-informed Commons user, I had no idea what the problem was.

Add 'free screenshot' to 'licenseTagFilters'

Isn't this all that's needed?

Attached:

matmarex claimed this task.
matmarex subscribed.

This check was removed entirely in ebdc2934701363521c97c6c803b821349a18d7b2.