Repository navigation
Move an article to a new name - #63
Merged
Merged
Conversation
Move article, under Moderator controls in the version history, renames an article's address (and optionally its title). Every version, its uploaded files and its watchers move in one transaction, and a redirect is left at the old name unless the box is cleared. An article can be moved back over its own redirects. Links are not rewritten. Template lookup now follows a redirect to another template, one step, so articles using a moved template keep working. Moving a template that articles use (directly or through a redirect) warns with the count and needs a second confirmation. New permission u_wiki_move, given like the other wiki moderation permissions to whoever has m_. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
templates::source() gained $follow_redirect, so the anonymous subclass in parser_functions_test.php no longer matched it and PHP stopped with a fatal error on load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bonelifer
added a commit
that referenced
this pull request
Oct 15, 2026
Cancel on the Move article page (#63) was a link styled as `button2`, which prosilver only sizes on form buttons, so it rendered smaller than the Move button and out of line. It's now a form button named `cancel` that goes back to the article, as in phpBB's own forms. `docs/images/wiki-move.png` is retaken. Claude retook the screenshot with phpbb-release-tools' `screenshots.py`, and clicked Cancel on the seed-forum 3.3 board to check it returns to the article. --- Investigated and written by [Claude](https://www.anthropic.com/claude) on behalf of William Jacoby ([bonelifer](https://github.com/bonelifer)). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 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.
An article's address was fixed forever once created (the TODO's "Move/rename an article"). This builds it as decided on 10/13/2026.
Moving
[[links]]: not empty, at most 255 characters, no leading or trailing space, none of[ ] | < > " # ? % / \.Templates
Template:page, one step only. Articles using a moved template keep showing it if a redirect was left.Permission
u_wiki_move("Can move an article to a new name"). Like the other wiki moderation permissions, the migration gives it to whoever hasm_.Also
docs/TODO.md.Claude tested this on a seed-forum board with the wiki fixtures, as
wiki_moderator:Investigated and written by Claude on behalf of William Jacoby (bonelifer).
🤖 Generated with Claude Code