Commit b41eb64
Consolidate RedHerb's NeoWikiGetFrontendModules handlers
RedHerb had two classes implementing NeoWikiGetFrontendModulesHook:
RedHerbFrontendHook (added with the Color frontend) and
RedHerbFrontendModulesHook (added later with the sidebar dialogs). The
split was incidental — a later PR added a new file instead of editing
the existing one — and there's no functional reason for two classes
when one handler can append all three modules.
Merge the body of RedHerbFrontendHook into RedHerbFrontendModulesHook
and remove the redundant class and its extension.json registration. No
behavior change.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d4dfe5b commit b41eb64
4 files changed
Lines changed: 5 additions & 24 deletions
File tree
- tests
- RedHerb
- src
- phpunit/RedHerb
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments