Template:Shelf:Page/Check ancestry2/doc

This template continues status checking of the ancestry page of a shelf in the, following preprocessing by Shelf:Page/Check ancestry.

Usage
Parameters used by this template are those used by Shelf:Page/Check ancestry plus several more provided by Shelf:Page/Check ancestry.
 * &mdash; wikilisp-formatted stored list of ancestors for, if any.
 * &mdash; wikilisp-formatted stored list of ancestors for, if any.
 * &mdash; wikilisp-formatted list of parents of.
 * &mdash; wikilisp-formatted stored list of ancestors for, if any.

Internals
If either of the parent lists of ancestors looks wrong &mdash; if it's not there, or not properly formatted, or empty, or not in fully sorted ascending order &mdash; this shelf doesn't attempt to assess the status of its own ancestors list. Those problems are the parent's responsibility, not this shelf's; but this shelf does then encourage the user to investigate the status of the parent (if it exists; if the parent doesn't exist, there will be a separate notice generated elsewhere, and that should be dealt with first). If the parental ancestors lists look okay, the ancestors list for the current shelf is computed by merging parents list and parental ancestors lists, and compared with the stored ancestors list for the current shelf, if any. If the ancestry page for the current shelf needs work, an explanatory is provided with a button for manual editing. A contemplated upgrade would detect availability of dialog and replace the editing button with one for a dialog-based assistant.