https://bugzilla.wikimedia.org/show_bug.cgi?id=23580
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[email protected] |[email protected]. | |org Summary|Provide onLivePreviewDone |Implement JavaScript |javascript hook for NAVPOP |mw.hooks framework |and other scripts | --- Comment #14 from Krinkle <[email protected]> 2011-11-09 22:08:43 UTC --- Rephrasing bug to be more generic. Example events (most of these currently abuse dom-ready or window-load, by making these mediawiki-custom events many things such as jquery-sortable would then work again for ajax preview). * 'articleReady' -- Runs whenever the article section of the page is rendered in html. Normally only once during a page load. Other times it woud run would be during ajax preview. Plugins like jquery.sortable or jquery.makeCollapsible would bind to this instead of $(document).ready -- data: [ article wrapper element (#bodyContent for Vector) ] * 'diffHeader' -- Runs whenever the diff meta data is shown. Useful for gadgets that want to insert links in here. Normally only once on a page, but gadgets like RTRC that dynamically load in diffs on-demand on Special:RecentChanges would fire these events more often so that stuff like Twinkle can actually work with other gadgets. -- data: [ table.diff element containing the meta data and diff itself ] -- 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
