Skip to content

Ask a Start template's values first, and let a new article copy another - #85

Merged
bonelifer merged 2 commits into
mainfrom
start-from-more
Oct 15, 2026
Merged

bonelifer merged 2 commits into
mainfrom
start-from-more

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Start from on a new article now offers more:

  • A Start template that uses {{{parameters}}} asks for their values first: one box per parameter, filled with its default ({{{version|1.0}}}), and Fill in writes the values into the text, links included. A box left empty is left out. Templates without parameters work as before.
  • or copy an article fills the text box with another article's live text, and says so when there is no such article. It is offered even on a board with no Start templates. The other article's uploaded files are not copied, which the README notes.

The README describes both, the TODO's article-creation entry is complete, and docs/images/wiki-start-values.png shows the values form.

Claude tested it:

  • Unit tests on phpBB 3.3 and master, with a test for reading parameters and their defaults.
  • On the seed-forum 3.3 board, with a Start template made through the edit form: the values form with its defaults, Fill in (values in the text and inside a link), copying an article, and an unknown name.
  • On the seed-forum 4.0 board: the edit page loads as a guest with no PHP errors. The features were not tried logged in on 4.0.

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

🤖 Generated with Claude Code

bonelifer and others added 2 commits October 14, 2026 23:58
Start from on a new article now offers more:
- a Start template that uses {{{parameters}}} shows one box per
  parameter, with its default filled in, and Fill in writes the values
  into the text;
- "or copy an article" fills the text box with another article's live
  text, and says so when there is no such article. It is offered even on
  a board without Start templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit dd260fa into main Oct 15, 2026
58 checks passed
@bonelifer
bonelifer deleted the start-from-more branch October 15, 2026 05:11
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