Page MenuHomePhabricator

Fields for uploaded images should include "File:" namespace
Closed, DeclinedPublic

Description


Version: unspecified
Severity: enhancement

Details

Reference
bz32420

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:05 AM
bzimport set Reference to bz32420.

Accidentally hit "enter", and submitted this bug before filling out the title. Here it is:

This is a generalization of a flaw originally reported here:

https://bugzilla.wikimedia.org/show_bug.cgi?id=30034

Semantic Forms requires a workaround to post a template to a non-main namespace page. The workaround is to use the pagename parameter to manually fix the namespace. For the File namespace, it would look like this:

page name=File:<SomeFileTemplate[FileFormField]>

Maybe a "full page name" parameter would be the way to go in solving this. Or perhaps having an upload field contain the "File:" portion of the namespace behind the scenes.

I renamed this bug to "Fields for uploaded images should include "File:" namespace", for clarity.

Yaron_Koren subscribed.

Five years later, I still see no point to this (sorry) - that "workaround" of adding the "File:" prefix seems fine to me.