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

            Bug ID: 62956
           Summary: Use mediawiki.Api
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Translate
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: niklas.laxst...@gmail.com
                CC: da...@sheetmusic.org.uk, niklas.laxst...@gmail.com,
                    siebr...@kitano.nl, sucheta.ghos...@gmail.com
       Web browser: ---
   Mobile Platform: ---

There are multiple instances of the following:
 $.post( mw.util.wikiScript( 'api' ), params, successFunction );
Which can be replaced with the following for consistency:
 new mw.Api().post( params ).done( successFunction );

-- 
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