Skip to content

Add Knowledge Base screenshots to screenshots.py - #18

Merged
bonelifer merged 1 commit into
mainfrom
feature/screenshots-knowledgebase
Oct 14, 2026
Merged

bonelifer merged 1 commit into
mainfrom
feature/screenshots-knowledgebase

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

What this does

screenshots.py can now take the Knowledge Base's documentation screenshots. Until now the extension had no entry, so its gallery was made with one-off scripts and could not be retaken when a page changed.

How it works

  • shots_knowledgebase() makes its own categories, articles (live, waiting for review, one with a pending revision, and a draft), review teams, a contact group, and the Comments and Changelog forums, then three forum questions about backups so a board search shows the Knowledge Base block beside forum posts. The articles go through the extension's own text formatter and search index.
  • It takes the twelve shots the repository's gallery uses, under the same file names (01-flat-index to 12-recent-changes).
  • The two ACP pages are full-page, so a setting below the fold is not cut off. Hierarchical browsing is switched on only for the category tree.
  • --seed with seed-forum's standard fixtures is optional; it adds members so the articles have different authors.

Testing

Claude ran it against the tool's board with the standard fixtures: 12 shots saved, 0 failed, no PHP errors logged, and looked at each image. tests/test-phpbb-test-board.sh passes with a new check that --help lists the Knowledge Base.


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

shots_knowledgebase() makes its own categories, articles (live, waiting
for review, with a pending revision, and a draft), forum questions and
the Comments and Changelog forums, then takes the twelve shots the
repository's gallery uses under the same file names. The two ACP pages
are full-page, so a setting below the fold, such as the feed format,
is no longer cut off. Hierarchical browsing is switched on only for the
category tree.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit 1e6befb into main Oct 14, 2026
1 check passed
@bonelifer
bonelifer deleted the feature/screenshots-knowledgebase branch October 14, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant