Jdlrobson has submitted this change and it was merged.

Change subject: check watch status for multiple articles in one request (bug 
42587)
......................................................................


check watch status for multiple articles in one request (bug 42587)

replace mw-mf-search-result event with mw-mf-search-results event to prevent 
multiple requests
rename initWatchList to more meaningful initWatchListIcon
introduce initWatchListIconList to operate in bulk
update checkWatchStatus to take a list of titles rather than a single title
update tests inc new test for initWatchListIconList

Change-Id: I790e8b5b51123ffbc18700849d48c159cfc389a0
---
M javascripts/modules/mf-search.js
M javascripts/modules/mf-watchlist.js
M tests/js/test_mf-watchlist.js
3 files changed, 71 insertions(+), 23 deletions(-)

Approvals:
  MaxSem: Looks good to me, but someone else must approve
  JGonera: Looks good to me, but someone else must approve
  Jdlrobson: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/39758
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I790e8b5b51123ffbc18700849d48c159cfc389a0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to