Talk:Snippets/Last revision action

Visual Editor

edit

In order to make this script to update the "diff" link when the page is edited using Visual Editor (once bugzilla:51565 is fixed), is it enough to replace

jQuery( function ( $ ) {

by

mw.hook( 'wikipage.content' ).add function () {

? Helder 17:48, 23 July 2013 (UTC)

Fixed by these changes. Helder 17:38, 29 October 2013 (UTC)
Return to "Snippets/Last revision action" page.