https://bugzilla.wikimedia.org/show_bug.cgi?id=34744
Web browser: ---
Bug #: 34744
Summary: Add a mw.Api.prototype.edit function to some
mediawiki.api* module (mediawiki.api.edit?)
Product: MediaWiki
Version: 1.19
Platform: All
OS/Version: All
Status: NEW
Keywords: javascript
Severity: enhancement
Priority: Unprioritized
Component: Javascript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
>From Krinkle's comment, on bug 34733 comment 6:
----
It [the function "postWithEditToken"] doesn't edit a page by default, it's used
as a pre-processor basically to either continue or get an edit token first. You
still need to set action=edit in the params (or something else). Looks like an
mw.Api.prototype.edit function should be created separate from this that'll
call it with action=edit. Not related to this bug [bug 34733] though, create a
new enhancement bug for it and a patch if you like :)
----
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l