https://bugzilla.wikimedia.org/show_bug.cgi?id=63466
Bug ID: 63466 Summary: Deprecate mw.util.$content Product: MediaWiki Version: 1.23-git Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: JavaScript Assignee: wikibugs-l@lists.wikimedia.org Reporter: foma...@googlemail.com CC: krinklem...@gmail.com, matma....@gmail.com, tpars...@wikimedia.org Web browser: --- Mobile Platform: --- mw.util.$content from module mediawiki.util seams to be needless. $( function () { mw.util.$content... } ); can be replaced by mw.hook( 'wikipage.content' ).add( function ( $content ) { $content... } ); mw.hook() is necessary to support Live Preview[1]. [1] https://www.mediawiki.org/wiki/Manual:Live_preview -- 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