mediawiki-extensions-Visual.../modules/ve-mw/tests/dm/models
Sébastien Beyou 6ea7ab19fd Fix getTemplateDataQueryTitle() when the title ends with a newline
According to ECMAScript, .trim() and RegExp’s "\s" capture the same
characters, so I replace the initial "\s*" by .trim() to remove
whitespaces and line terminators at the beginning and at the end.

Bug: T371000
Change-Id: Id9188f97a3136b986b052b71cd4079c1109ea8ff
2024-07-26 16:18:29 +02:00
..
ve.dm.MWImageModel.test.js Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
ve.dm.MWTemplateModel.test.js Fix getTemplateDataQueryTitle() when the title ends with a newline 2024-07-26 16:18:29 +02:00
ve.dm.MWTemplateSpecModel.test.js build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00
ve.dm.MWTransclusionContentModel.test.js build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00
ve.dm.MWTransclusionModel.test.js build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00