mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
MWEditSummaryWidget: Don’t query for title
As far as I can tell, the code only uses the comment, nothing else. Omitting the title probably won’t make the underlying database query any cheaper, but it should at least save some network traffic. Change-Id: Ideb66ce3a24fb4f42fe8fc22ba0e93d05724d8b6
This commit is contained in:
parent
9d7ddcf066
commit
b6a4e76d42
|
@ -130,7 +130,7 @@ ve.ui.MWEditSummaryWidget.prototype.getSummaries = function () {
|
|||
action: 'query',
|
||||
list: 'usercontribs',
|
||||
ucuser: mw.user.getName(),
|
||||
ucprop: 'comment|title',
|
||||
ucprop: 'comment',
|
||||
uclimit: 500,
|
||||
format: 'json'
|
||||
} ).then( function ( response ) {
|
||||
|
|
Loading…
Reference in a new issue