Last modified: 2008-05-22 21:38:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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