Ability to preview summary in "Upload file" page
OpenPublic

Assigned To
None
Priority
Normal
Author
bzimport
Subscribers
Matanya, Steinsplitter, Ricordisamoa and 14 others
Projects
Tokens
"Like" token, awarded by Ricordisamoa.
Security
None
Reference
bz2537
Description

Author: Eugene.Zelenko

Description:
Will be great to have ability to preview file description typed in "Summary"
field of "Upload file" page. Just to verify license tags, links and so on.

Preview should be displayed in pop-up window.


Version: unspecified
Severity: enhancement

bzimport added a project: MediaWiki-Uploading.Via ConduitNov 21 2014, 8:36 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz2537.
bzimport created this task.Via LegacyJun 26 2005, 4:11 PM
bzimport added a comment.Via ConduitJun 26 2005, 10:01 PM

gangleri wrote:

How does this request relate to bug 2258 and bug 73 ?

brion added a comment.Via ConduitJun 26 2005, 10:39 PM

It doesn't.

bzimport added a comment.Via ConduitMar 29 2006, 12:27 AM

robchur wrote:

Pinging for thoughts on this prior to possible implementation.

brion added a comment.Via ConduitApr 5 2006, 11:40 PM
  • Bug 5473 has been marked as a duplicate of this bug. ***
dungodung added a comment.Via ConduitMay 4 2006, 12:17 PM

Ponging... There could be a [Preview] button next to the [Submit] button, much
alike the normal editing form. When the preview shows, the image path, name and
license should stay intact (of course). There is one thing that's bothering me:
where to actually put the preview? The troublemaker is the
[[MediaWiki:uploadtext]]. The question is: in which order should the contents be
shown?

  1. Uploadtext, preview then form?
  2. Preview, uploadtext and form?
  3. Preview and form, no uploadtext

While 1) seems like a good compromise, I'd prefer 3) because uploadtext isn't
really needed after the first load of the upload page.

Just spilling some ideas

brion added a comment.Via ConduitMay 4 2006, 6:58 PM

It's not possible to actually do that. Either we upload the file
with the preview form submission, or you have to select it again
on the preview display.

bzimport added a comment.Via ConduitMay 4 2006, 6:59 PM

robchur wrote:

The idea I had was that uploads would still be associated with summaries, but
that during the first upload of an image, the user would also see a medium-sized
text box (with edit toolbar?) allowing them to enter initial additional content
for the description page.

If this was submitted blank, then the contents of the summary field, if any,
would be used as before. The description page could be previewed prior to
submission in some manner. As Brion states, however, there's a problem when we
consider that the file is attached to that form, and is going to be submitted
along with the rest of it if the user hits Upload, Preview, etc.

brion added a comment.Via ConduitMay 4 2006, 7:02 PM

Or... the preview can be AJAX. ;)

Magnus added a comment.Via ConduitJun 13 2006, 11:49 AM

My first thought was to have an Preview button do exactly what Upload does,
except saving the description, but instead opening the edit page of the
description with the prefilled text.

However, if the user doesn't save the page, the image would be without
description page, which is bad.

So, why not

  • Perform a complete upload on preview, also saving the description
  • Immediately open the edit page of the description, with preview

This ensures an initial description is saved, and the user can "fine-tune" the
description using preview. The only drawback here is generating two versions of
the description per preview-upload. But then, we do cope with old versions
rather well ;-)

bzimport added a comment.Via ConduitJun 13 2006, 1:07 PM

Eugene.Zelenko wrote:

My point was to reduce number of revisions for image descriptions. To check
links/categories for existence before uploading image.

Jidanni added a comment.Via ConduitAug 27 2007, 10:25 PM

Anyway, users are used to the right to preview anything before committing.
Whereupon they encounter this upload form with a missing preview button.
Anyway, whatever you do, don't make it depend on javascript, css, etc.
Test in lynx, etc.

bzimport added a comment.Via ConduitNov 2 2007, 9:18 PM

smjg wrote:

Why only the summary? A single operation should preview the summary and the uploaded media in one go. This is especially important for checking that SVGs are within MediaWiki's rendering capability.

bzimport added a comment.Via ConduitAug 21 2009, 3:39 PM

mdale wrote:

hmm... this should actually not be too hard to do now that we normal uploads on Secial:Upload being submited to the api see recent versions of the special upload page with js2enabled. We are doing an api upload request to an iframe.

I think we could reclassify this bug as adding a "preview" option to the upload api. The "preview" option would take the upload put it in a "stash" then return a rendered thumbnail transform. (and wiki-text parse the comment field along with other warning checks).

bzimport added a comment.Via ConduitOct 16 2009, 8:38 PM

Bryan.TongMinh wrote:

Assigning to self. I intend to fix this, at least for the non-AJAX part. I think Michael Dale's feature is nice and should be implemented, but users who do not use JavaScript should be able to use the major functions of the site as well, so this should at first be implemented in pure HTML.

The idea behind the implementation will be the same, a button "upload and preview comment", which will upload the image to stash and show a preview of the comment with an option to save or cancel.

Gilles added a project: Multimedia.Via WebNov 24 2014, 3:43 PM
Patrick87 added a subscriber: Patrick87.Via WebFeb 6 2015, 5:05 PM
Perhelion added a subscriber: Perhelion.Via WebFeb 6 2015, 9:54 PM
Steinsplitter added a project: Commons.Via WebMar 12 2015, 3:02 PM
Steinsplitter set Security to None.
Steinsplitter moved this task to Backlog (Uploading) on the Commons workboard.
Ricordisamoa added a subscriber: Ricordisamoa.Via WebFri, Aug 14, 8:49 PM
Restricted Application added subscribers: Steinsplitter, Matanya. · View Herald TranscriptVia HeraldFri, Aug 14, 8:49 PM
Ricordisamoa awarded a token.Via WebFri, Aug 14, 8:50 PM
Jdforrester-WMF moved this task to Backlog on the Multimedia workboard.Via WebFri, Sep 4, 6:33 PM

Add Comment