Skip to content

Commit 2acdce9

Browse files
boneliferclaude
andauthored
Screenshot a wiki Start template asking for its values (#25)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 05c33d5 commit 2acdce9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎phpbb-test-board/screenshots.py‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,15 @@ def edit_conflict(mode: str, article: str) -> None:
375375
# The lock beside a protected article's title in a list
376376
shoot.shot("wiki-protected-list", "app.php/wiki/recent-changes?sid={sid}", admin=True, selector=".forumbg")
377377

378+
# A Start template that asks for its values before it fills a new article
379+
add_article("Template:Start Release",
380+
"<noinclude>A release note: asks for the version, the date and who made it.</noinclude>"
381+
"== Release {{{version|1.0}}} ==\nReleased on {{{date}}} by {{{1}}}.",
382+
"A release note", days_ago=4)
383+
board.purge_cache()
384+
shoot.shot("wiki-start-values", "app.php/wiki/Release%202.0?action=edit&start_from=Start%20Release&sid={sid}",
385+
admin=True, selector="#page-body")
386+
378387
def highlight_button(p) -> None:
379388
p.add_style_tag(content=".bbcode-wikilink { outline: 3px solid #d31141; outline-offset: 2px; }")
380389
shoot.shot("wiki-link-button", "app.php/wiki/Requirements?action=edit&sid={sid}", admin=True,

0 commit comments

Comments
 (0)