Repository navigation
Link between articles with [[Article name]] - #22
Merged
Merged
Conversation
Write [[Article name]] or [[Article name|link text]] in a wiki article or a forum post to link to that article. The text formatter turns the markup into a WIKILINK tag; after rendering, the extension points each link at the article's route and marks links to articles that don't exist yet (shown in red, opening the editor). Brackets inside [code] stay text. Each article lists the articles whose live version links to it under "What links here". A "Wiki link" button in the editor toolbar inserts the brackets, with a tooltip and screen-reader text. README documents the syntax, the reparser commands for older text, and three new screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All nine README screenshots now come from phpbb-test-board's screenshots.py on a prosilver board, so they match and can be regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds links between wiki articles, as asked for in the extension's phpBB.com topic.
[[Article name]]links to that article;[[Article name|other text]]shows different text. It works in wiki articles and in forum posts. Brackets inside[code]stay plain text.php bin/phpbbcli.php reparser:reparse phpbbmodders_wiki_article(andpost_textfor posts). The README documents this, with three new screenshots.@was avoided on purpose: phpBB 4.0 uses@nameto mention members.How it works: the text formatter turns the markup into a
WIKILINKtag that renders without an address; after rendering, the extension adds each link's address from the wiki's own route and marks the articles that don't exist. "What links here" is read from the stored article text, so there is no new table or migration.Testing
Claude added a phpbbmodders/wiki check to phpbbmodders/phpbb-release-tools'
feature_checks.py(branchwiki-feature-check): all 8 checks pass on this branch and the link checks fail onmain, as they should. The smoke test is clean, the new PHP passesphp -lon PHP 7.4,template_a11y.pyreports nothing, and Claude checked that the reparser converts older articles and posts.Investigated and written by Claude on behalf of William Jacoby (bonelifer).