With the following config:
$wgEnableMultiBlocks = false; $wgUseCodexSpecialBlock = true; $wgEnablePartialActionBlocks = false;
I'm getting this error:
TypeError: can't convert null to object js http://localhost/w/load.php?debug=2&lang=en&modules=mediawiki.special.block.codex&skin=freo&version=ztntf:12 runScript http://localhost/w/load.php?debug=2&lang=en&modules=startup&only=scripts&raw=1&skin=freo:1285 …
Here’s the derived requirement, BDD scenario, and test steps based on the issue:
Derived Requirement
Ensure that no console error occurs when loading the Codex Special:Block page, specifically the "can't convert null to object" error, under the following configurations: $wgEnableMultiBlocks = false, $wgUseCodexSpecialBlock = true, and $wgEnablePartialActionBlocks = false.
BDD
gherkin Feature: Error-Free Loading of Codex Special:Block Page Scenario: Ensure no console error occurs when loading the Codex Special:Block page Given the following configurations: - $wgEnableMultiBlocks = false - $wgUseCodexSpecialBlock = true - $wgEnablePartialActionBlocks = false When the user navigates to the Special:Block page Then no console error such as "can't convert null to object" should appear
Test Result - Local
Status: ✅ PASS / ❓Need More Info / ❌ FAIL
Environment: Local
OS: macOS Sonoma 15.0
Browser: Chrome 130
Device: MBA
Emulated Device: NA
Test Artifact(s):
Test Steps
Test Case 1: Ensure No Console Error Appears on Special:Block Page
- Set the following configurations:
- $wgEnableMultiBlocks = false
- $wgUseCodexSpecialBlock = true
- $wgEnablePartialActionBlocks = false
- Navigate to the Special:Block page.
- ✅❓❌⬜ AC1: Open the browser’s developer console and confirm that no "TypeError: can't convert null to object" error appears.
QA Results - Local
AC | Status | Details |
---|---|---|
1 | ❓ | T377448#10248757 |