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
       Web browser: ---
   Mobile Platform: ---

mw.util.$content from module mediawiki.util seams to be needless.

    $( function () {
    } );
can be replaced by
    mw.hook( 'wikipage.content' ).add( function ( $content ) {
    } );

mw.hook() is necessary to support Live Preview[1].


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

Reply via email to