Comments on news posts: one forum discussion per post
oc:pages command in the forum extension, tools/forum_sync.py and 'make forum-sync' (run by deploy) keep data/forum_pages.json up to date; post pages end with their discussion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
|
||||
use Flarum\Extend;
|
||||
use Oc\Museum\Console\ImportCommand;
|
||||
use Oc\Museum\Console\PagesCommand;
|
||||
use Oc\Museum\DisplayName;
|
||||
|
||||
return [
|
||||
(new Extend\Console())->command(ImportCommand::class),
|
||||
(new Extend\Console())->command(ImportCommand::class)->command(PagesCommand::class),
|
||||
|
||||
// selected by oc:import (setting display_name_driver = museum); needs the Nicknames extension
|
||||
(new Extend\User())->displayNameDriver('museum', DisplayName::class),
|
||||
|
||||
Reference in New Issue
Block a user