mediawiki-extensions-Visual.../modules/ve-mw/tests/dm
Thiemo Kreuz 9dbbc06273 Fix …TemplateSpecModel reporting missing pages as documented
The code in .cacheTemplateDataApiResponse() where the `specCache`
is filled skips missing pages. .setTemplateData() is never called.
While we could – in theory – check the `missing` flag (as done in
patchset 1), this flag never makes it to the spec.

Rather simple solution: Mark everything as undocumented, as long
as .setTemplateData() is not called.

This affects only missing pages. .setTemplateData() is called in
all other situations.

Bug: T272487
Bug: T276574
Bug: T290136
Change-Id: I7045e84f2f2ba5aa4591c94ea495b0249e6c40d6
2021-09-01 14:59:03 +02:00
..
models Fix …TemplateSpecModel reporting missing pages as documented 2021-09-01 14:59:03 +02:00
nodes Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.Converter.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.Document.test.js Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.mwExample.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWImageModel.test.js Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.MWInternalLinkAnnotation.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWTemplateModel.test.js Tests for some trivial but critical template model methods 2021-08-27 12:49:06 +00:00
ve.dm.MWTransclusionModel.test.js Tests for some trivial but critical template model methods 2021-08-27 12:49:06 +00:00
ve.dm.SurfaceFragment.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00