Skip to content

Translate the old-extension message in ext.php - #38

Merged
bonelifer merged 1 commit into
masterfrom
rename-message-language
Oct 7, 2026
Merged

bonelifer merged 1 commit into
masterfrom
rename-message-language

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

ext.php refused to enable with a hard-coded English message while the old rmcgirr83/contactadmin extension was still enabled. phpBB's validation policy requires user-facing text to come from language files, so the message now comes from language/en/install_contactadmin.php (CONTACTADMIN_DISABLE_OLD).

Found during a validation pass on phpbbmodders/stopforumspam#68, whose ext.php came from the same rename template.

Testing

Claude ran these on a local phpBB 3.3.19 test board:

  • Enabled the last rmcgirr83/contactadmin version, then tried to enable this one: it refused with the translated message. After disabling the old copy, this one enabled.
  • Smoke test: clean.

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

🤖 Generated with Claude Code

ext.php refused to enable with a hard-coded English message while the old extension was still enabled. The message now comes from the install language file, as phpBB's validation policy requires.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit 5dc0e8b into master Oct 7, 2026
3 checks passed
@bonelifer
bonelifer deleted the rename-message-language branch October 7, 2026 01:25
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