LivePreview: Add uselang parameter to API diff request
authorFomafix <fomafix@googlemail.com>
Thu, 25 Jan 2018 18:30:55 +0000 (19:30 +0100)
committerFomafix <fomafix@googlemail.com>
Thu, 25 Jan 2018 18:30:55 +0000 (19:30 +0100)
commitb1e1bd0e3a745c899aafce85a801f29e33efd70d
tree084c0b2f5f5019a27bf7b45560e102a4c6cde53d
parent495e8ddf7e6940777f3318a1a2e37d85bfdbdbf1
LivePreview: Add uselang parameter to API diff request

Some elements like the line numbers of a diff depends on the user
interface language. This change ensures that the language of the user
interface is used of live preview diffs, too.

Bug: T185683
Change-Id: I438e19028700fb2d5bcd57d214e1134d656fb7b2
resources/src/mediawiki.action/mediawiki.action.edit.preview.js