සැකිල්ල:පොත් රාක්කය:Page/Check ancestry2/doc

This template continues status checking of the ancestry page of a shelf in the Wikibooks Stacks, 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}}.

  • parent ancestrywikilisp-formatted stored list of ancestors for parent, if any.
  • parent2 ancestrywikilisp-formatted stored list of ancestors for parent2, if any.
  • parentswikilisp-formatted list of parents of shelf.
  • ancestrywikilisp-formatted stored list of ancestors for shelf, if any.

Internalsසංස්කරණය

If either of the parent lists of ancestors looks wrong — if it's not there, or not properly formatted, or empty, or not in fully sorted ascending order — 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.

See alsoසංස්කරණය