https://bugzilla.wikimedia.org/show_bug.cgi?id=61742

--- Comment #2 from Prateek Saxena <psax...@wikimedia.org> ---
Resources
---------
* Resources being loaded:
 * mediawiki.api
 * mediawiki.jqueryMsg
 * moment [5]
* schema.Popups being loaded if EventLogging[4] is present
* Resources for the extension itself:
 * resources/ext.popups.core.js
 * resources/ext.popups.core.less
 * resources/ext.popups.animation.less


Requests
--------
Apart from the request being made to load the resources a request[1] is made
every time a user hovers over a link, this request is aborted if the mouse
moves elsewhere. Amongst other things the API call also requests for a 300px
thumbnail using the PageImages extension. All successful requests are cached[2]
in JavaScript.


Others
------
* Animations are being done in CSS.
* Links clicks are being hijacked[3] for logging events.


[1]
http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FPopups.git/dbfd8f415e027c75097ebb0c0c6986900a6592a5/resources%2Fext.popups.core.js#L32
[2]
http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FPopups.git/dbfd8f415e027c75097ebb0c0c6986900a6592a5/resources%2Fext.popups.core.js#L82
[3]
http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FPopups.git/dbfd8f415e027c75097ebb0c0c6986900a6592a5/resources%2Fext.popups.core.js#L284
[4] https://bugzilla.wikimedia.org/61880 (PATCH_TO_REVIEW)
[5] https://bugzilla.wikimedia.org/61481 (PATCH_TO_REVIEW)

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to