Link publishing audit
Find (and optionally fix) linkfield Link records that are unpublished, stale, archived or orphaned. Writes a detailed publish.log.
Parameters:
- publish
- Publish links found in the MISSING_LIVE and STALE_LIVE categories. Without this flag the task only reports. [default: 0]
- restore-archived
- Also restore archived links that are still referenced by an existing record. Implies --publish for those records. [default: 0]
- csv
- Write the full audit to this CSV path, e.g. --csv=link-audit.csv
- log
- Path for the detailed log. Defaults to publish.log in the project root.
- log-all
- Log every link, including the ones that are already correct. Default is to log only records needing attention plus every action taken. [default: 0]
- no-log
- Skip writing the log file entirely. [default: 0]
- limit
- Only process the first N links. Useful for a quick smoke test on production.