Add language prefix to Readability survey

Changes the language of the preloaded form
by using Special:MyLanguage.

Bug: T347208
Change-Id: I34759fc17f2078eb34dfcf4f8d86dfb082eeb6d6
This commit is contained in:
Jan Drewniak 2023-10-17 10:58:13 -04:00
parent 004b4c96f3
commit 74b58348f6

View file

@ -88,7 +88,7 @@ module.exports = exports = {
const feedbackUrlParams = new URLSearchParams( [
[ 'action', 'submit' ],
[ 'section', 'new' ],
[ 'preload', 'Reading/Web/Accessibility_for_reading/Community_Prototype_Testing/preload' ],
[ 'preload', 'Special:MyLanguage/Reading/Web/Accessibility_for_reading/Community_Prototype_Testing/preload' ],
[ 'preloadparams[]', this.fontSize ],
[ 'preloadparams[]', this.lineHeight ],
[ 'preloadparams[]', this.verticalMargins ],