Page MenuHomePhabricator

Upload from mobile web for specific page should mention page in upload summary (img_comment)
Closed, ResolvedPublic

Description

If someone uploads a file for a specific page via mobile web, it gets uploaded to commons with upload summary "Added image for use on page"

It would be cool (imo) if the upload summary mentioned which page. There is of course global usage, but sometimes the image gets removed from the page, and its good to keep a record of the original context for the upload.

Ideally something like: "Added image for use on page [[fr:Foo.jpg]]" (I'm assuming only wikipedia has this feature. Otherwise the interwiki prefixes could get tricky to implement right)


Version: unspecified
Severity: enhancement

Details

Reference
bz50265

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:09 AM
bzimport set Reference to bz50265.
bzimport added a subscriber: Unknown Object (MLST).

It's live on all wikis. Maybe it should keep a record in the page itself? I wonder if the edit summary is the right place?

I can see this being useful though!

(In reply to comment #1)

It's live on all wikis. Maybe it should keep a record in the page itself? I
wonder if the edit summary is the right place?

I can see this being useful though!

We could just use the url, or even say something like "Added image for page Foo on frwikisource" (although that seems icky). Too bad there isn't an easy way (that I am aware of) to translate frwikisource into [[s:fr:...]]

Is there any limit on the edit summary length? Just wondering about long names... Maybe the name without the project would be better than nothing.

Alternatively we could update the upload template in the summary to include uploaded for page name and host fields

Summary is limited to 255 bytes (which is also theoretical max of a page title). People are somewhat used to things being cut-off due to the behaviour of Special:Upload just plopping the image description page in there.

Honestly I don't think we really need to worry too much about edge cases. If it doesn't work for 1 out of 10000 files, I don't think that's too big a deal. Its mildly interesting info, but its not that important.

I've raised a new bug summarising problems with existing edit summaries for uploads. Let's move discussion there.

  • This bug has been marked as a duplicate of bug 58983 ***