Repository navigation
Offer Template:Start ... pages when a new article is created - #53
Merged
Merged
Conversation
A Start from choice above the edit form of an article that does not exist yet lists the templates whose name starts with Start, and Use fills the text box with the chosen template's text. The list page shares the live-version query with the picker. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 3 of the template quality-of-life work. When someone creates a new article, the edit page now offers the templates meant as starting points.
Start(Template:Start Extensionis shown as "Extension"). Use reloads the form with the text box filled with that template's text, without its<noinclude>parts, to edit and save as the new article. It is a plain GET form, so it works without JavaScript.Start ...can be used this way; any other name gives an empty box.Tests
&, a table and BBCode), no copy of the<noinclude>part, saving the new article, refused non-start and missing templates, and no choice on an existing article.Investigated and written by Claude on behalf of William Jacoby (bonelifer).