Last modified: 2014-11-07 06:49:59 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 T64956, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62956 - Use mediawiki.Api
Use mediawiki.Api
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
gci2014
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-22 14:01 UTC by Niklas Laxström
Modified: 2014-11-07 06:49 UTC (History)
5 users (show)

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


Attachments

Description Niklas Laxström 2014-03-22 14:01:55 UTC
There are multiple instances of the following:
 $.post( mw.util.wikiScript( 'api' ), params, successFunction );
Which can be replaced with the following for consistency:
 new mw.Api().post( params ).done( successFunction );
Comment 1 Niklas Laxström 2014-05-29 10:11:41 UTC
Seen in ext.translate.special.aggregategroups.js (4 times) and in ext.translate.messagetable.js.
Comment 2 Gerrit Notification Bot 2014-06-06 21:04:40 UTC
Change 138037 had a related patch set uploaded by Gerrit Patch Uploader:
Use mw.Api

https://gerrit.wikimedia.org/r/138037
Comment 3 Gerrit Notification Bot 2014-06-13 10:24:38 UTC
Change 138037 merged by jenkins-bot:
Use mw.Api

https://gerrit.wikimedia.org/r/138037
Comment 4 Gerrit Notification Bot 2014-06-17 14:17:54 UTC
Change 139380 had a related patch set uploaded by Kunalgrover05:
Use mw.api in Special:AggregateGroups

https://gerrit.wikimedia.org/r/139380
Comment 5 Siebrand Mazeland 2014-08-06 11:25:21 UTC
The requested changes in resources/js/ext.translate.special.aggregategroups.js have been made by Kunal.

ext.translate.messagetable.js still needs to be updated.
Comment 6 Gerrit Notification Bot 2014-08-06 11:26:22 UTC
Change 139380 merged by jenkins-bot:
Use mw.api in Special:AggregateGroups

https://gerrit.wikimedia.org/r/139380

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


Navigation
Links