Last modified: 2008-05-22 21:38:42 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 T16231, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14231 - Description of "summary" parameter for "action=edit" should be edited
Description of "summary" parameter for "action=edit" should be edited
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://test.wikipedia.org/w/api.php
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-22 21:26 UTC by Tyler Romeo
Modified: 2008-05-22 21:38 UTC (History)
2 users (show)

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


Attachments

Description Tyler Romeo 2008-05-22 21:26:38 UTC
This is very trivial, but I feel it might be of some significance. In api.php's built-in help file, under the "* action=edit*" header, it says for the summary parameter that it is the "Edit summary". However, when using the API with "action=edit&section=new", the summary parameter becomes the title for the new section instead. This should be noted in the instructions on the help page, or maybe even put into a separate parameter altogether.
Comment 1 Roan Kattouw 2008-05-22 21:38:42 UTC
(In reply to comment #0)
> This is very trivial, but I feel it might be of some significance. In api.php's
> built-in help file, under the "* action=edit*" header, it says for the summary
> parameter that it is the "Edit summary". However, when using the API with
> "action=edit&section=new", the summary parameter becomes the title for the new
> section instead. This should be noted in the instructions on the help page
Help text changed in r35202.

>, or
> maybe even put into a separate parameter altogether.
They're in the same parameter because they're currently in the same form field, and the API leaves the hard work to EditPage.php which requires form input. Yes, that interface sucks, and when EditPage is rewritten (which it should be, it's messy) that'll hopefully change. However, the way things are now, separate API parameters would require separate form fields. I've heard people say that should be done too, and if you're one of them please file a separate bug for that (if there isn't one already).


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


Navigation
Links