()
| 322 | return _safe_filename(title, max_len=max_len) |
| 323 | return _paper_file_stem(paper) |
| 324 | |
| 325 | |
| 326 | def _wiki_ingest_enabled() -> bool: |
| 327 | # Shared parser so this agrees with the GUI settings panel, which used an |
| 328 | # opposite-polarity check and could report ingestion as off while it ran. |
| 329 | return shared_env.env_bool("PAPERFLOW_WIKI_INGEST", default=True) |
| 330 | |
| 331 | |
| 332 | def ingest_reading_report_to_wiki( |
| 333 | *, |
no test coverage detected