mediawiki.api.parse: Specify wikitext as the content model
[lhc/web/wiklou.git] / resources / mediawiki.api / mediawiki.api.parse.js
index 4044655..08bb171 100644 (file)
@@ -23,6 +23,7 @@
 
                        apiPromise = this.get( {
                                        action: 'parse',
+                                       contentmodel: 'wikitext',
                                        text: wikitext
                                } )
                                .done( function ( data ) {