Last modified: 2009-11-22 21:30:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21589 - API: Separate summary and initial page text for uploads
API: Separate summary and initial page text for uploads
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-22 04:32 UTC by Gurch
Modified: 2009-11-22 21:30 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
patch against r59327 (1.35 KB, patch)
2009-11-22 04:32 UTC, Gurch
Details

Description Gurch 2009-11-22 04:32:45 UTC
Created attachment 6810 [details]
patch against r59327

Currently, when uploading files, the contents of the upload form's "description" field are used as both the upload summary and the inital text of the description page. This makes things simpler and is probably best kept that way on the user-facing upload form.

However, the first ~200 characters of the description page do not always make a good summary, and it is a pain to have to upload with an appropriate summary and then separately edit the file description page to add a description. It would thus be useful, especially for bulk uploads, if API clients could specify a separate summary and page text. MediaWiki already supports this internally; the accompanying patch adds support to the API.
Comment 1 Sam Reed (reedy) 2009-11-22 15:14:48 UTC
r59336


Gurch, thought about applying for commit access?
Comment 2 Gurch 2009-11-22 21:10:34 UTC
(In reply to comment #1)
> r59336
> 
> Gurch, thought about applying for commit access? 

What are the requirements? This is my second patch and about third piece of PHP code ever... :)

Also per comment on codereview this should be mentioned in release notes, I forgot about that.
Comment 3 Sam Reed (reedy) 2009-11-22 21:30:29 UTC
The release notes was more probably a comment for me ;)

Gurch, see:
http://www.mediawiki.org/wiki/Commit_access
http://www.mediawiki.org/wiki/Commit_access_requests

A history of a couple of successful patches is all that is really needed to get commit access (roughly)

Other programming (ie Huggle), is a bonus, as is reporting other bugs etc etc

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links