Merge "Improve 1-letter variable names in MutableContext and implementations"
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.edit.preview.js
index b86f5c8..b87fba7 100644 (file)
@@ -99,7 +99,8 @@
                                rvdifftotext: $textbox.textSelection( 'getContents' ),
                                rvdifftotextpst: true,
                                rvprop: '',
-                               rvsection: section === '' ? undefined : section
+                               rvsection: section === '' ? undefined : section,
+                               uselang: mw.config.get( 'wgUserLanguage' )
                        } );
 
                        // Wait for the summary before showing the diff so the page doesn't jump twice