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 MWCategoryMetaItem: Allow trailing whitespace (e.g. \n) in category names 2020-10-06 12:17:30 -07:00
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 build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.dm.MWWikitextSurface.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWWikitextSurfaceFragment.js Remove/fix a few small pieces of unused code 2021-05-21 11:43:45 +00:00