mediawiki-extensions-Visual.../modules/ve-mw/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
..
annotations MWExternalLinkAnnotation: Call core method to evaluate diff 2021-01-22 17:33:24 +00:00
metaitems
models Fix …TemplateSpecModel reporting missing pages as documented 2021-09-01 14:59:03 +02:00
nodes Merge "Rewrite MWTransclusionNode.isSingleTemplate for readability" 2021-07-01 11:21:44 +00:00
.eslintrc.json
ve.dm.MWWikitextSurface.js
ve.dm.MWWikitextSurfaceFragment.js Remove/fix a few small pieces of unused code 2021-05-21 11:43:45 +00:00